build tool to generate a series of templates into a single file