I doubt file by file rewriting takes as much work as rewriting and refactoring the code - especially at this scale.