private void initializeAclManifest(IRepositoryFileBundle file) { try { byte[] bytes = IOUtils.toByteArray(file.getInputStream()); ByteArrayInputStream in = new ByteArrayInputStream(bytes); getImportSession().setManifest(ExportManifest.fromXml(in)); } catch (Exception e) { log.trace(e); } }