{% for f in files %}
{{ f[1] }}
{{ f[3] }} {% if f[2] %} {% endif %}
{% endfor %}