private static ResourceFile getPatternFile(List<ResourceFile> patternDirs,
			String patternFileName) throws FileNotFoundException {
		for (ResourceFile dir : patternDirs) {
			ResourceFile file = new ResourceFile(dir, patternFileName);
			if (file.exists()) {
				return file;
			}
		}
		throw new FileNotFoundException("can't find pattern file: " + patternFileName);
	}
Find any pattern files associated with this program
@param program find pattern files associated with this program
@param decisionTree decision tree parsed from getPatternDecisionTree
@return the array of File objects, one for each file
@throws IOException pattern file could not be read
@throws FileNotFoundException pattern file not found
@throws XmlParseException pattern file had an XML parse error
Ghidra/Features/BytePatterns/src/main/java/ghidra/app/analyzers/Patterns.java