Added log to file