def METHOD_NAME(self, inpath: Path, outdir: Path):
    super().METHOD_NAME(inpath, outdir)
    # ubireader_extract_images creates a superfluous directory named
    # after the UBI file (inpath here), so we simply move the files up
    # and delete the remaining directory.
    superfluous_dir_path = outdir.joinpath(inpath.name)
    for file_path in superfluous_dir_path.iterdir():
        shutil.move(file_path.as_posix(), outdir.as_posix())
    shutil.rmtree(superfluous_dir_path.as_posix())