diff --git a/src/CodeHunk.php b/src/CodeHunk.php
index <HASH>..<HASH> 100644
--- a/src/CodeHunk.php
+++ b/src/CodeHunk.php
@@ -28,6 +28,10 @@ class CodeHunk
 
     private function _get($file, $line)
     {
+        if (!file_exists($file)) {
+            return null;
+        }
+
         $fh = fopen($file, 'r');
         if (!$fh) {
             return null;
Don't attempt to open files that don't exist