File refactor.