private int getDexIndex(String dexName) {
		try {
			if (dexName.startsWith(CLASSES) && dexName.endsWith(DEX)) {
				String indexString =
					dexName.substring(CLASSES.length(), dexName.length() - DEX.length());
				if (indexString.length() == 0) {//this case is where name is "classes.dex"
					return 0;
				}
				//this case handles classes2.dex, classes3.dex, ... classesN.dex 
				return Integer.parseInt(indexString) - 1;//must subtract one since Android starts counting at 1!!
			}
		}
		catch (Exception e) {
			//ignore
		}
		return -1;
	}
Looks in the specified project folder for a program with the specified name.
If found, then create a header of the specified type.
@param type the FileType
@param parentFolder the project folder
@param programName the program name
@param monitor the task monitor
@param log the message log
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/android/oat/bundle/FullOatBundle.java