public static List<String> getLines(ResourceFile file) throws IOException {
		try (InputStream is = file.getInputStream()) {
			return getLines(is);
		}
		catch (FileNotFoundException exc) {
			return new ArrayList<>();
		}
	}
Returns all of the lines in the file without any newline characters.
<p>
The file is treated as UTF-8 encoded.

@param file The text file to read in
@return a list of file lines
@throws IOException if an error occurs reading the file
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java