Added in Logging to file.