change download to use response->file instead of Media viewClass