diff --git a/includes/file.inc b/includes/file.inc
index afa619c..abf2f76 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -872,29 +872,30 @@ function file_transfer($source, $headers) {
  * returned headers the download will start with the returned headers. If no
  * modules respond drupal_not_found() will be returned.
  */
-function file_download() {
-  // Merge remainder of arguments from GET['q'], into relative file path.
-  $args = func_get_args();
-  $filepath = implode('/', $args);
-
-  // Maintain compatibility with old ?file=paths saved in node bodies.
-  if (isset($_GET['file'])) {
-    $filepath =  $_GET['file'];
-  }
-
-  if (file_exists(file_create_path($filepath))) {
-    $headers = module_invoke_all('file_download', $filepath);
-    if (in_array(-1, $headers)) {
-      return drupal_access_denied();
+if (!preg_match('/^\/hubb/', $_SERVER['REQUEST_URI'])) {
+  function file_download() {
+    // Merge remainder of arguments from GET['q'], into relative file path.
+    $args = func_get_args();
+    $filepath = implode('/', $args);
+  
+    // Maintain compatibility with old ?file=paths saved in node bodies.
+    if (isset($_GET['file'])) {
+      $filepath =  $_GET['file'];
     }
-    if (count($headers)) {
-      file_transfer($filepath, $headers);
+  
+    if (file_exists(file_create_path($filepath))) {
+      $headers = module_invoke_all('file_download', $filepath);
+      if (in_array(-1, $headers)) {
+        return drupal_access_denied();
+      }
+      if (count($headers)) {
+        file_transfer($filepath, $headers);
+      }
     }
+    return drupal_not_found();
   }
-  return drupal_not_found();
 }
 
-
 /**
  * Finds all files that match a given mask in a given directory.
  * Directories and files beginning with a period are excluded; this
