def METHOD_NAME(url: str):
    filename = url.split("/")[-1].replace(" ", "_")
    filepath = os.path.join(tgt_dir, filename)
    r = requests.get(url, stream=True)
    if r.ok:
        logger.info(f"Saving {filename} to", os.path.abspath(filepath))
        with open(filepath, "wb") as f:
            for chunk in r.iter_content(chunk_size=1024 * 1024 * 10):
                if chunk:
                    f.write(chunk)
                    f.flush()
                    os.fsync(f.fileno())
        logger.info(f"{filename} successfully downloaded")
        unzip_targz_then_delete(filepath)
    else:
        logger.info(f"Download failed: status code {r.status_code}\n{r.text}")