Split templates into separate files