with zf.open(filename) as sf, open(img_path, "wb") as df:
        shutil.copyfileobj(sf, df)