diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 99ce118..dcb154c 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -853,7 +853,7 @@ function drupal_get_filename($type, $name, $filename = NULL, $trigger_error = TR
     $files[$type] = array();
   }
 
-  if (!empty($filename) && file_exists($filename)) {
+  if (!empty($filename)) {
     // Prime the static cache with the provided filename.
     $files[$type][$name] = $filename;
   }
