diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php
index c8477fa9fac4dc2ac4daeef47c4575603db48f7b..41e6e0803345acc4fab005bdf87bada4c51be9ff 100644
--- a/inc/JpegMeta.php
+++ b/inc/JpegMeta.php
@@ -1020,6 +1020,9 @@ class JpegMeta
     /*************************************************************/
     function _parseAll()
     {
+        if (!isset($this->_info['file'])) {
+            $this->_parseFileInfo();
+        }
         if (!isset($this->_markers)) {
             $this->_readJPEG();
         }
@@ -1043,9 +1046,6 @@ class JpegMeta
         if (!isset($this->_info['adobe'])) {
             $this->_parseMarkerAdobe();
         }
-        if (!isset($this->_info['file'])) {
-            $this->_parseFileInfo();
-        }
     }
 
     /*************************************************************/