allow template_file