add --infile and --outfile options for mwmatching.py