Fix File Downloads and store files in Elasticsearch.