Logging to file added