private static String[] splitOffName(String path) {
		String name = "";
		if (!StringUtils.isBlank(path) && !path.endsWith("/")) {
			int index = path.lastIndexOf('/');
			if (index >= 0) {
				// last name may or may not be a folder name
				name = path.substring(index + 1);
				path = path.substring(0, index);
			}
		}
		return new String[] { path, name };
	}
Create a URL which refers to a local Ghidra project with optional project file and ref
@param projectLocator local project locator
@param projectFilePath file path (e.g., /a/b/c, may be null)
@param ref location reference (may be null)
@return local Ghidra project URL
@throws IllegalArgumentException if invalid {@code projectFilePath} specified or if URL 
instantion fails.
Ghidra/Framework/Project/src/main/java/ghidra/framework/protocol/ghidra/GhidraURL.java