public File getFile(boolean copyIfNeeded) {
		if (copyIfNeeded) {
			return resource.getResourceAsFile(this);
		}
		return resource.getFile(); // will be null if the resource is a compressed filesystem
	}
Returns a File object.  If this ResourceFile represents a standard filesystem, then no
copy is necessary to return a file.  If this ResourceFile represents a compressed 
filesystem, then a copy from that filesystem to the real filesystem is needed to create
a File object.  <code>copyIfNeeded</code> allows you to dictate whether a copy should take 
place, if needed.
<p>
If you just want the contents of a file, then call {@link #getInputStream()}.

@param  copyIfNeeded true to copy the file when embedded in a compressed filesystem; false
                     to return null in that case.
@return a File object or null if not a file and copyIfNeeded was false
Ghidra/Framework/Utility/src/main/java/generic/jar/ResourceFile.java