Refactoring: update logger interface and FileLogger implementation