private DomainFileNode findDomainFileNode(DomainFile domainFile, boolean lazy) {
		DomainFolderNode folderNode = findDomainFolderNode(domainFile.getParent(), lazy);
		if (folderNode == null) {
			return null;
		}
		if (lazy && !folderNode.isLoaded()) {
			return null; // not visited 
		}

		return (DomainFileNode) folderNode.getChild(domainFile.getName(),
			n -> (n instanceof DomainFileNode));
	}
Class to handle changes when a domain folder changes; updates the
tree model to reflect added/removed/renamed nodes.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/ChangeManager.java