/**
  * {@inheritdoc}
  */
 public function getFor($name, $path)
 {
     $hash = $this->generateHash($name, $this->getFileRelativePath($path));
     $file = $this->storage->getFileByHash($hash);
     if (!$file instanceof FileInterface) {
         $file = $this->create($name, $path);
     }
     return $file;
 }