DocumentId documentId = newProjectSettings.getSourceDocumentId();
File uploadedFile = new File(uploadsDirectory, documentId.getDocumentId());
UploadedProjectSourcesExtractor extractor = new UploadedProjectSourcesExtractor(new ZipInputStreamChecker
(),
new ZipArchiveProjectSourcesExtractor(new DefaultTempFileFactory(), new DefaultRootOntologyDocumentMatcher()), new SingleDocumentProjectSourcesExtractor());
if (uploadedFile.exists()) {
OWLOntologyManager rootOntologyManager = WebProtegeOWLManager.createOWLOntologyManager();
RawProjectSources projectSources = extractor.extractProjectSources(uploadedFile);
OWLOntologyLoaderConfiguration loaderConfig = new OWLOntologyLoaderConfiguration()