for (Part part : parts) {
String contentDisposition = part.getHeader("Content-Disposition");
String filename = MultipartRequestParser.parseFileName(contentDisposition);
if (filename != null) {
files.add(new UploadedFile30(part.getName(), filename, part));
}
}
} else {
boolean createTempFiles = isCreateTempFiles(request.getServletContext());
String tempFilesDirectory = getTempFilesDirectory(request.getServletContext());