fix comments about outfile and infile; OptionParser block simplification