Refactoring file