Add optional logging to a file via a command line argument.