def METHOD_NAME(
    self, dataset: FAIR1M, tmp_path: Path
) -> None:
    shutil.rmtree(dataset.root)
    for filepath, url in zip(
        dataset.paths[dataset.split], dataset.urls[dataset.split]
    ):
        output = os.path.join(str(tmp_path), filepath)
        os.makedirs(os.path.dirname(output), exist_ok=True)
        download_url(url, root=os.path.dirname(output), filename=output)
    FAIR1M(root=str(tmp_path), split=dataset.split, checksum=True)