add generated template file