code: def __run_py_file(self, filepath, module_name):
          
  
          # Import the module
          spec = importlib.util.spec_from_file_location(module_name, filepath)
          delta_py = importlib.util.module_from_spec(spec)
          spec.loader.exec_module(delta_py)
  
          # Get the python file's directory path
          # Note: we add a separator for backward compatibility, as existing DeltaPy subclasses
          # may assume that delta_dir ends with a separator
          dir_ = dirname(filepath) + os.sep
  
          # Search for subclasses of DeltaPy
          for name in dir(delta_py):
              obj = getattr(delta_py, name)
              if inspect.isclass(obj) and not obj == DeltaPy and issubclass(
                      obj, DeltaPy):
  
                  delta_py_inst = obj(
                      self.current_db_version(), dir_, self.dirs, self.pg_service,
                      self.upgrades_table, variables=self.variables)
                  delta_py_inst.run()
docs: Execute the python file at the passed path
  
          Parameters
          ----------
          filepath: str
              the path of the file to execute
          module_name: str
              the name of the python module