Merge pull request #19 from zepag/master

Fix File Downloads and store files in Elasticsearch.
Extracted the configuration of index names from the code.