diff --git modules/file/file.module modules/file/file.module
index 51c7b84..a0e309e 100644
--- modules/file/file.module
+++ modules/file/file.module
@@ -161,7 +161,7 @@ function file_file_download($uri, $field_type = 'file') {
     foreach ($field_references as $entity_type => $type_references) {
       foreach ($type_references as $id => $reference) {
         // Try to load $entity and $field.
-        $entity = reset(entity_load($entity_type, array($id)));
+        $entity = reset(entity_load($entity_type, array($reference->nid)));
         $field = NULL;
         if ($entity) {
           // Load all fields for that entity.
