Nicer logging to file.