add template to folders