private HeadlessGhidraProjectManager getProjectManager() {
		if (projectManager == null) {
			projectManager = new HeadlessGhidraProjectManager();
		}
		return projectManager;
	}
Checks to make sure the given file contains only valid characters in its name.

@param path The path of the file to check.
@throws InvalidInputException if the given file path contains invalid characters in it.
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessAnalyzer.java