public function __construct(Registry $storageRegistry, XmlEncoder $xmlEncoder, XmlDecoder $xmlDecoder, $archivePath, Filesystem $filesystem = null)
{
$this->storageRegistry = $storageRegistry;
$this->xmlEncoder = $xmlEncoder;
$this->xmlDecoder = $xmlDecoder;
$this->archivePath = $archivePath;
$this->filesystem = $filesystem ?: new Filesystem();
}