Adding file logging.