public static ResourceFile openJarResourceFile(File jarFile, JarEntryFilter filter)
			throws IOException {

		JarResource root = new JarResource(jarFile, filter);
		ResourceFile rootResourceFile = new ResourceFile(root);
		jarRootsMap.put(jarFile.getCanonicalPath(), root);
		return rootResourceFile;
	}
Creates a new Root ResourceFile for a given jar file.
@param jarFile the jar file to open.
@param filter JarEntryFilter that will filter out unwanted jar entries.
@return A Resource file that represents the root of the jarfile file system.
@throws IOException if the jar file can't be read.
Ghidra/Framework/Utility/src/main/java/generic/jar/ResourceFile.java