Deletes obsolete template files