Add the option to log on a file