private void accumulateFile(HashMap<DittedBitSequence, PatternAccumulate> hashMap,
			ResourceFile file) throws FileNotFoundException, IOException, SAXException {
		XMLErrorHandler handler = new XMLErrorHandler();
		InputStream inputStream = file.getInputStream();
		XmlPullParser parser =
			new NonThreadedXmlPullParserImpl(inputStream, file.getName(), handler, false);
		inputStream.close();
		parser.start("accumlist");
		while (parser.peek().isStart()) {
			PatternAccumulate accum = new PatternAccumulate();
			accum.restoreXml(parser);
			accumulateOne(hashMap, accum);
		}
		parser.end();
	}
Run patterns over all memory blocks, accumulate stats for
   1) hits for each pattern
   2) false positives for each pattern

 Produce an xml file output of stats for each pattern
Ghidra/Features/BytePatterns/ghidra_scripts/PatternStats.java