private static URL getResource(List<String> searchPaths, String filename) {

		for (String path : searchPaths) {
			File f = new File(path, filename);
			if (!f.exists()) {
				continue;
			}

			try {
				return f.toURI().toURL();
			}
			catch (MalformedURLException e) {
				Msg.debug(ResourceManager.class, "Unable to create URL for file", e);
			}
		}

		return null;
	}
Searches the given set of directory paths for the given filename

@param searchPaths the paths 
@param filename the filename
@return the URL of the first matching file
Ghidra/Framework/Gui/src/main/java/resources/ResourceManager.java