provide params for infile and outfile in command line