changed Twig extension template_file() to getTemplateFile()