Made a reasonble first draft of method to output a file containing a summary of the run.