join text-based template files together with custom tag parsing along the way