open LIST, "ls -1t $LOGSTR |" or die "could not ls: $!"; my @Files = ; close LIST: