creating template files