{% for root, dir, files in os.walk(filedir) %}
{% for f in files %} {% endfor %}
{% endfor %}