Adding FileLogger, refactoring WindowLogger