Renaming templates to files