Removed logging to file method