private static int verifyIndexedDirectory(File dir) throws IndexReadException {
		int itemCount = 0;
		String fname = dir.getName();
		boolean badFolder = true;
		if (fname.length() == 2) {
			try {
				Integer.parseInt(fname, 16);
				badFolder = false;
			}
			catch (NumberFormatException e) {
				// handled below
			}
		}
		if (badFolder) {
			throw new IndexReadException("Unexpected folder in filesystem root: " + fname);
		}
		for (File f : dir.listFiles()) {
			fname = f.getName();
			if (f.isDirectory()) {
				// ignore hidden directories
				if (!isHiddenDirName(fname)) {
					throw new IndexReadException(
						"Unexpected folder in filesystem: " + dir.getName() + SEPARATOR + fname);
				}
			}
			else if (fname.endsWith(PROPERTY_EXT)) {
				verifyIndexedPropertyFile(f);
				++itemCount;
			}
		}
		return itemCount;
	}
Verify that the specified root directory passes all criteria to be an indexed 
filesystem.
@param root
@return number of property files processed
@throws IndexReadException
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/IndexedLocalFileSystem.java