public function exists($path) { try { return $this->fs->has($path); } catch (Error $ex) { } catch (Exception $ex) { } throw new ReadException("File {$path} does not exist.", $ex); }