private static String getMenuPath(String filepath) {

		if (filepath.contains("/data/typeinfo/")) {
			return getTypeInfoRelativeName(filepath);
		}

		String[] projectPathname = DataTypeManagerHandler.parseProjectPathname(filepath);
		if (projectPathname == null) {
			return filepath;
		}
		return projectPathname[0] + ":" + projectPathname[1];
	}
Class for action to open a recently opened data type archive.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/RecentlyOpenedArchiveAction.java