private static String removeLastExtension(String filename) {
		int period = filename.lastIndexOf('.');
		if (period == -1) {
			return filename;
		}
		return filename.substring(0, period);
	}
Returns all tools found in the classpath that live under a root
'defaultTools' directory or a root 'extraTools' directory

@return the tools
Ghidra/Framework/Project/src/main/java/ghidra/framework/ToolUtils.java