Add metavar for logfile
Refactor input and output file argparse parameters