code: protected final void addSuccessfullyUploadedFile(UploadFile file) {
          if (!successfullyUploadedFiles.contains(file.path)) {
              successfullyUploadedFiles.add(file.path);
              params.files.remove(file);
          }
      }
docs: Add a file to the list of the successfully uploaded files and remove it from the file list
  
  @param file file on the device