added ability to manage template files