}
stream.close();
// Send the change to the server
makeChange(new OSSPDirectoryStimulusInitiateCreate(name, new XCDEDocument(fileContents.toString())), syncExec);
// Update the local cache
dirContents.add(new OSSPDirectoryListingElement(name, XCDEDocument.class.getName()));
}