Make generator apply the template files