l</span><span class="o">=-</span><span class="mi">1</span><span class="p">):</span>
        <span class="k">nonlocal</span> <span class="n">files</span><span class="p">,</span> <span class="n">directories</span>
        <span class="k">if</span> <span class="ow">not</span> <span class="n">level</span><span class="p">:</span> 
            <span class="k">return</span> <span class="c1"># 0, stop iterating</span>
        <span class="k">if</span> <span class="n">limit_to_directories</span><span class="p">:</sp