code: public static FileItem getRequestFileItemValue(final HttpServletRequest request, final String key) {
  		FileItem[] values = getRequestFileItemValues(request, key);
  		return values == null || values.length == 0 ? null : values[0];
  	}
docs: Get a file item value from the request allowing for multi part form fields.
  
  @param request the request being processed
  @param key the file parameter key to return
  @return the file item value