template all the files