Add ability to log to file