protected function copyOptionsToFileStorage(SingleFileStorage $fileStorage)
    {
        foreach ($this->supportedOptions() as $key) {
            $fileStorage->setOption($key, $this->getOption($key));
        }
        $fileStorage->setSerializeOptions($this->serializeOptions);
        $fileStorage->setDeserializeOptions($this->deserializeOptions);
    }