use argparse pattern for infile/outfile from argparse documentation