<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_object(self, obj):
 """ Find and return the template associated to the given object. Arguments: obj: an instance of a user-defined class. search_dirs: the list of directories in which to search. """

        locator = self._make_locator()

        path = locator.find_object(obj, self.search_dirs)

        return self.read(path)