private function getKeyPath($key)
    {
        $this->validateKey($key);
        $file = sha1($key);
        $this->hashDirectory->processFile($file);
        return $this->hashDirectory->getFileStoragePath();
    }