code: void handleUpload(List<String> uploadedFiles, I_CmsDialogContext context) {
  
          CmsObject cms = context.getCms();
          boolean success = OpenCms.getWorkplaceAppManager().getUserIconHelper().handleImageUpload(cms, uploadedFiles);
          if (success) {
              context.reload();
          }
      }
docs: Handles the user image file upload.<p>
  
  @param uploadedFiles the uploaded file names
  @param context the dialog context