Refactor files.