Combine templates into one file