docs: def __load_stored_routines(self):
          """
          Loads all stored routines into the RDBMS instance.
          """
          self._io.writeln('')
  
          for routine_name in sorted(self._source_file_names):
              if routine_name in self._pystratum_metadata:
                  old_metadata = self._pystratum_metadata[routine_name]
              else:
                  old_metadata = None
  
              if routine_name in self._rdbms_old_metadata:
                  old_routine_info = self._rdbms_old_metadata[routine_name]
              else:
                  old_routine_info = None
  
              routine_loader_helper = self.create_routine_loader_helper(routine_name, old_metadata, old_routine_info)
              routine_loader_helper.shadow_directory = self.__shadow_directory
  
              metadata = routine_loader_helper.load_stored_routine()
  
              if not metadata:
                  self.error_file_names.add(self._source_file_names[routine_name])
                  if routine_name in self._pystratum_metadata:
                      del self._pystratum_metadata[routine_name]
              else:
                  self._pystratum_metadata[routine_name] = metadata