def METHOD_NAME(self, inpath: Path, outdir: Path):
    fs = FileSystem(outdir)
    with File.from_path(inpath) as file:
        for output_path, start_offset, size in self.parse(file):
            fs.carve(output_path, file, start_offset, size)
    return ExtractResult(reports=fs.problems)