add the template file