{% for file in filesList %}
<option value="{{ file }}"{% if file == active %} selected="selected"{% endif %}>
{{ file }}
</option>
{% endfor %}