Adding a template file