code: def _search_path(self, directory_name, filename):
          
          full_path = path.join(directory_name, filename)
          if path.exists(full_path):
              return full_path
  
          # Could not find the requested file in any of the directories
          return None
docs: Searches for a given file in the specified directory.