Fix: Logging to File