FileItemStream fis = contentPartIterator.next();
if(contentItem == null){
log.debug("create ContentItem {} for content (type:{})",
id,content.getContentType());
contentItem = new InMemoryContentItem(id,
IOUtils.toByteArray(fis.openStream()),
fis.getContentType(), metadata);
} else {
Blob blob = new InMemoryBlob(fis.openStream(), fis.getContentType());
UriRef contentPartId = null;
if(fis.getFieldName() != null && !fis.getFieldName().isEmpty()){