Allow for null file logging