Logging to file added to GoT example