code: public void removeFile(final FileWidgetUpload file) {
  		List<FileWidgetUpload> files = (List<FileWidgetUpload>) getData();
  		if (files != null) {
  			files.remove(file);
  			if (files.isEmpty()) {
  				setData(null);
  			}
  		}
  	}
docs: Remove the file.
  
  @param file the file to remove