@Override
	protected void processCustomSection(Section section) throws IOException {
		error(section.getLineNumber(),
			"Custom sections not allowed in theme files! " + section.getName());
	}
Assumes the file is a theme file and reads it.
Ghidra/Framework/Gui/src/main/java/generic/theme/ThemeReader.java