static InputStream getInputStreamHelper(GFile file, GFileSystem fs, TaskMonitor monitor)
			throws CancelledException, IOException {
		ByteProvider bp = fs.getByteProvider(file, monitor);
		return (bp != null) ? new ByteProviderInputStream.ClosingInputStream(bp) : null;

	}
Default implementation of getting an {@link InputStream} from a {@link GFile}'s
{@link ByteProvider}.

@param file {@link GFile}
@param fs the {@link GFileSystem filesystem} containing the file
@param monitor {@link TaskMonitor} to allow canceling
@return new {@link InputStream} containing bytes of the file
@throws CancelledException if canceled
@throws IOException if error
Ghidra/Features/Base/src/main/java/ghidra/formats/gfilesystem/GFileSystem.java