public function read($sessionId) { try { return $this->directory->getFile($sessionId)->read(); } catch (IOException $e) { return null; } }