Fixed bug in FileLogger