set up template files