make infile and outfile command-line parameters