private LoadResults<Program> loadPrograms(FSRL fsrl, String folderPath)
			throws VersionException, InvalidNameException, DuplicateNameException,
			CancelledException, IOException, LoadException {
		MessageLog messageLog = new MessageLog();

		if (options.loaderClass == null) {
			// User did not specify a loader
			if (options.language == null) {
				return AutoImporter.importByUsingBestGuess(fsrl, project, folderPath, this,
					messageLog, TaskMonitor.DUMMY);
			}
			return AutoImporter.importByLookingForLcs(fsrl, project, folderPath, options.language,
				options.compilerSpec, this, messageLog, TaskMonitor.DUMMY);
		}

		// User specified a loader
		if (options.language == null) {
			return AutoImporter.importByUsingSpecificLoaderClass(fsrl, project, folderPath,
				options.loaderClass, options.loaderArgs, this, messageLog, TaskMonitor.DUMMY);
		}
		return AutoImporter.importByUsingSpecificLoaderClassAndLcs(fsrl, project, folderPath,
			options.loaderClass, options.loaderArgs, options.language, options.compilerSpec, this,
			messageLog, TaskMonitor.DUMMY);
	}
Process the specified filename within parentFolder.
@param parentFolder domain folder to be searched
@param filename name of file to be imported
@return true if one or more files processed
@throws IOException if an IO problem occurred.
Ghidra/Features/Base/src/main/java/ghidra/app/util/headless/HeadlessAnalyzer.java