public function store(StorableFileInterface $file, $path)
    {
        if ( ! $this->filesystem->put($path, $file->content())) {
            throw new FileStorageException("Failed to store '{$file->name()}' to '{$path}'");
        }

        $stored = new DecoratorStoredFile($file);
        $stored->setUrl($this->prefixBaseUrl($path));

        return $stored;
    }