JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3RbrgetRealPath(), 'rb'); } elseif ($disk === null && realpath($filePath) !== false) { $readStream = fopen($filePath, 'rb'); } else { $diskInstance = app('filesystem')->disk($disk); if (!$diskInstance->exists($filePath)) { $logPath = '[' . $filePath . ']'; if ($disk) { $logPath .= ' (' . $disk . ')'; } throw new FileNotFoundException('File ' . $logPath . ' does not exist and can therefor not be imported.'); } $readStream = $diskInstance->readStream($filePath); } $this->put($readStream); if (is_resource($readStream)) { fclose($readStream); } return $this->sync(); } }