putting templates into other files