// Parse the index and add to the workspace repository
FileInputStream input = null;
try {
input = new FileInputStream(indexFile);
WorkspaceR5Repository workspaceRepo = Central.getWorkspaceR5Repository();
workspaceRepo.loadProjectIndex(project, input, project.getLocation().toFile().toURI());
} catch (Exception e) {
logger.logError("Failed to update workspace index.", e);
} finally {
if (input != null) {
try {