private void checkFileType() throws PdbException {
		String pdbFilename = pdbFile.getName().toLowerCase();

		if (!pdbFilename.endsWith(PdbFileType.PDB.toString()) &&
			!pdbFilename.endsWith(PdbFileType.XML.toString())) {
			throw new PdbException(
				"\nInvalid file type (expecting .pdb or .pdb.xml): '" + pdbFile.getName() + "'");
		}
	}
Parse the PDB file, enforcing pre-conditions and post-conditions.

@throws IOException If an I/O error occurs
@throws PdbException  if there was a problem during processing
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/PdbParser.java