private void checkInUse() throws FileInUseException {
		try {
			for (GhidraFolderData folder : folderDataCache.values()) {
				folder.checkInUse();
			}
			for (GhidraFileData file : fileDataCache.values()) {
				file.checkInUse();
			}
		}
		catch (FileInUseException e) {
			throw new FileInUseException(name + " has one or more files in use");
		}
	}
Set the name on this domain folder.
@param newName domain folder name
@return renamed domain file (the original DomainFolder object becomes invalid since it is 
immutable)
@throws InvalidNameException if newName contains illegal characters
@throws DuplicateFileException if a folder named newName 
already exists in this files domain folder.
@throws FileInUseException if any file within this folder or its descendants is 
in-use / checked-out.
@throws IOException thrown if an IO or access error occurs.
Ghidra/Framework/Project/src/main/java/ghidra/framework/data/GhidraFolderData.java