Fixed FileLogger

Instead appending file I use full rewriting