public static ResourceFile[] findPatternFiles(Program program, ProgramDecisionTree decisionTree)
			throws FileNotFoundException, IOException, XmlParseException {

		DecisionSet decisionsSet = decisionTree.getDecisionsSet(program, PATTERN_FILE_NAME_XMLTAG);
		List<String> values = decisionsSet.getValues();

		List<ResourceFile> patternFileList = new ArrayList<ResourceFile>();
		List<ResourceFile> patternDirs = Application.findModuleSubDirectories(DATA_PATTERNS_SUBDIR);

		for (String patternFileName : values) {
			patternFileList.add(getPatternFile(patternDirs, patternFileName));
		}

		return patternFileList.toArray(new ResourceFile[patternFileList.size()]);
	}
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