Made download method available for any mime type.