="p">)</span>

    <span class="k">if</span> <span class="n">extract_nested</span><span class="p">:</span>
        <span class="n">nested_archive_path</span> <span class="o">=</span> <span class="kc">None</span>
        <span class="k">for</span> <span class="n">root</span><span class="p">,</span> <span class="n">_</span><span class="p">,</span> <span class="n">files</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">walk</span><span class="p">(</span><span cl