public void closeDocument(String fileURI) {
        logger.info("Closing document: " + fileURI);
        workspaceFiles.get(fileURI).setIsOpen(false);

        File file = new File(URI.create(fileURI));
        if (!file.exists()) {
            cleanUpDocument(fileURI);
        }

        if (!isInWorkspace(fileURI)) {
            diagnosticsHandler.clearDiagnostics(fileURI);
        }
    }
Class responsible for maintaining the set of open documents and reparsing them.
When {@link SchemaDocumentScheduler#updateFile} is called, it will call {@link DocumentManager#updateFileContent} on the appropriate file 
and also other files that may have dependencies on the contents of the file.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/schemadocument/SchemaDocumentScheduler.java