diff --git a/model/MediaManagerBrowser.php b/model/MediaManagerBrowser.php
index <HASH>..<HASH> 100644
--- a/model/MediaManagerBrowser.php
+++ b/model/MediaManagerBrowser.php
@@ -137,11 +137,13 @@ class MediaManagerBrowser implements MediaBrowser{
     }
 
     /**
-     * @param string $filename
+     * @param string $link
      * @return string path of the file to download
      */
-    public function download($filename)
+    public function download($link)
     {
-        \tao_helpers_Http::returnFile($filename);
+        $fileManagement = FileManager::getFileManagementModel();
+        $filePath = $fileManagement->retrieveFile($link);
+        \tao_helpers_Http::returnFile($filePath);
     }
 }
\ No newline at end of file
update download to get file from a link