Closes #34 for logging to file
Merge pull request #36 from peter-/logfile_issue_34

Closes #34 for logging to file - very nicely done