Mixing together and let source: Path = "/path/to/file" source.zip(to: "/path/to/zipfile") let zip: Path = "/path/to/zipfile" zip.archive(mode: .read) ...