I dont understand why the constructor can have both a path and a resourceObject that can be null ? In which case do we need that ?

Coz this means $archive->getPath() and $archive->getFileResource->getResource() can be different ?

As this object represent the physical created archive, it always has a resource and the only resource representation of the archive is 

```php

new FileResource($pathToArchive);
```