private boolean removeValue(@Nullable FileId2ValueMapping<Value> mapping,
                              int inputId) {
    if (mapping != null) {
      return mapping.removeFileId(inputId);
    }
    else {
      return removeAssociatedValue(inputId);
    }
  }
private boolean removeValue(@Nullable FileId2ValueMapping<Value> mapping,
                              int inputId)