shell: perl script.pl file1 file2 fileN outfile