BZ-12939: Adding mime type and file name parameters to download.
BZ-12940: Adding mime type and file name parameters to download.