Fixed FileHandler, added config for it