<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_name(self, template_name, search_dirs):
 """ Return the path to a template with the given name. Arguments: template_name: the name of the template. search_dirs: the list of directories in which to search. """

        file_name = self.make_file_name(template_name)

        return self._find_path_required(search_dirs, file_name)