added getTemplateFile