changed file option to log.