chomp(my @files = $^O eq 'MSWin32' ? `dir /b $path` : `ls -a $path`);