Log can now be written to a file.