hasFile(): Return file object on success instead of Boolean
diff --git a/lib/pbxProject.js b/lib/pbxProject.js
index 532a27e..7ca502b 100644
--- a/lib/pbxProject.js
+++ b/lib/pbxProject.js
@@ -926,7 +926,7 @@
     for (id in files) {
         file = files[id];
         if (file.path == filePath || file.path == ('"' + filePath + '"')) {
-            return true;
+            return file;
         }
     }