{% for librarian in librarians %}
{{librarian}}
{% endfor %}
{% for querylibrarian in urllibrarian %}
{% for file in filetoname_dict %}
{% for item in file['librarian'] %}
{% if item == querylibrarian and urlmethod != ['']%}
{% set show_file = file['debrisname'] %}
{{show_file}}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}