public function read($key) { $filename = $this->keyToFilename($key, false); if ($this->isReadableFile($filename)) { return file_get_contents($filename); } else { return null; } }