Separated templates to files