Refactor to compileTemplatesInFile().