try {
File uploadsDirectory = FileUploadConstants.UPLOADS_DIRECTORY;
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();