Added save log to file