See prev commit. Cleaned up indentation, added file path to log warning.