Refactors render files.