Include the ability to log to a file


Include a commandline switch called -log. This will specify a path to the file used to capture the output of the current run.
If this is specified then the screen output should also be sent to this file.
If the file already exists, append a number to the end of the file name. Increment the number until a unique filename is found
Consider outputting as XML and using XSL for rendering.