Part part = null;
InputStream in = null;
try {
//in = zf.getInputStream( zf.getEntry(resolvedPartUri ) );
in = partByteArrays.get(resolvedPartUri).getInputStream();
part = new BinaryPart( new PartName("/" + resolvedPartUri));
// Set content type
part.setContentType(
new ContentType(
ctm.getContentType(new PartName("/" + resolvedPartUri)) ) );