code refactoring FileHandler