public GhidraSourceBundle getBundleForSource(ResourceFile sourceFile) {
		ResourceFile sourceDir = GhidraScriptUtil.findSourceDirectoryContaining(sourceFile);
		if (sourceDir == null) {
			return null;
		}
		return (GhidraSourceBundle) bundleHost.getExistingGhidraBundle(sourceDir);
	}
Get the {@link GhidraSourceBundle} containing the given source file, assuming it already
exists.

@param sourceFile the source file
@return the bundle
Ghidra/Features/Base/src/main/java/ghidra/app/script/JavaScriptProvider.java