private void indexFiles(TaskMonitor monitor) throws CancelledException, SevenZipException {
		monitor.initialize(items.length, "Indexing files");
		for (ISimpleInArchiveItem item : items) {
			if (monitor.isCancelled()) {
				throw new CancelledException();
			}

			long itemSize = Objects.requireNonNullElse(item.getSize(), -1L);
			fsIndex.storeFile(fixupItemPath(item), item.getItemIndex(), item.isFolder(),
				itemSize, item);
		}
	}
Opens the specified sevenzip container file and initializes this file system with the
contents.

@param byteProvider container file 
@param monitor {@link TaskMonitor} to allow the user to monitor and cancel
@throws CancelledException if user cancels
@throws IOException if error when reading data
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/sevenzip/SevenZipFileSystem.java