consolidate template files