def METHOD_NAME(self, dname: str) -> None:
    flist = []
    for p in pathlib.Path(dname).iterdir():
        if not p.is_file():
            continue
        flist.append(p)
    for f in flist:
        self.load(f)