public static List<String> loadTextResource(Class<?> cls, String name) throws IOException {

		InputStream is = cls.getResourceAsStream(name);
		if (is == null) {
			throw new IOException("Could not find resource: " + name);
		}
		Msg.debug(AbstractGenericTest.class, "Loading classpath resource: " + name);
		BufferedReader br = new BufferedReader(new InputStreamReader(is));
		List<String> text = readText(br);
		br.close();
		return text;
	}
Load a text resource file into an ArrayList. Each line of the file is stored as an item in
the list.

@param cls class where resource exists
@param name resource filename
@return list of lines contained in file
@throws IOException if an exception occurs reading the given resource
Ghidra/Framework/Generic/src/main/java/generic/test/AbstractGenericTest.java