private URL getGhidraURL(Path urlFilePath) {
		try {
			String urlContents = new String(Files.readAllBytes(urlFilePath));
			if (StringUtils.isEmpty(urlContents)) {
				Swing.runNow(() -> Msg.showError(GhidraGoIPC.class, null,
					"GhidraGo Empty GhidraURL Read",
					"The GhidraURL read from url file was null or empty. This should not happen, " +
						"ensure ghidraGo is being used properly."));
				return null;
			}

			return toURL(urlContents);
		}
		catch (IOException e) {
			Swing.runNow(() -> Msg.showError(GhidraGoIPC.class, null, "GhidraGo Error",
				"Failed to read the url from " + urlFilePath, e));
		}
		catch (IllegalArgumentException e) {
			Swing.runNow(
				() -> Msg.showError(GhidraGoIPC.class, null, "GhidraGo Illegal Argument Given", e));
		}
		return null;
	}
Reads the url file for the url string and returns it.
@param urlFilePath the path for the url file
@return the url string, or null if the file cannot be read.
Ghidra/Features/GhidraGo/src/main/java/ghidra/app/plugin/core/go/ipc/GhidraGoListener.java