protected final DBHandle openAssociatedUserFile(String associatedFileID,
			String associatedContentType, FileSystem userfs, TaskMonitor monitor)
			throws IOException, CancelledException {
		String path = "/";
		String name = DefaultProjectData.getUserDataFilename(associatedFileID);
		FolderItem item = userfs.getItem(path, name);
		if (item == null || !(item instanceof DatabaseItem) ||
			!getUserDataContentType(associatedContentType).equals(item.getContentType())) {
			return null;
		}
		DatabaseItem dbItem = (DatabaseItem) item;
		BufferFile bf = dbItem.openForUpdate(FolderItem.DEFAULT_CHECKOUT_ID);
		return new DBHandle(bf, false, monitor);
	}
Open user data file associatedDbh
@param associatedFileID
@param associatedContentType
@param userfs
@param monitor
@return user data file database handle
@throws IOException
@throws CancelledException
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/DBWithUserDataContentHandler.java