Ading the template file