'Delete any extra files on exit
:param self: A TemplateManager object
:type: self: TemplateManager
:return: None
:rtype: None'

def on_exit(self):

    for (templ_name, templ_obj) in self._templates.iteritems():
        templ_obj.remove_extra_files()
