_async</span><span class="p">(</span><span class="n">list_valid_filenames_in_directory_function</span><span class="p">,</span>
            <span class="n">kwds</span><span class="o">=</span><span class="nb">dict</span><span class="p">(</span>
                <span class="n">base_directory</span><span class="o">=</span><span class="n">directory</span><span class="p">,</span>
                <span class="n">search_class</span><span class="o">=</span><span class="n">clazz</span><span class="p">,</span>
       