refactoring manifest file