def METHOD_NAME(self, dir_path: str, *, file_ext: str = ".py"):
    for filename in glob(dir_path + f"/**/*{file_ext}", recursive=True):
        try:
            self.process_file(filename)
        except Exception as e:
            raise RuntimeError(f"Failed to process file {filename!r}") from e