while (iter.hasNext()) {
final FileItemStream item = iter.next();
final String name = item.getFieldName();
final String filename = item.getName();
final String mimeType = item.getContentType();
final InputStream stream = item.openStream();
if (item.isFormField()) {
// ignored, upload requests contains only files
} else {
final String pid = name.split("_")[0];
final Upload uploadComponent = (Upload) idPaintableMap