private static List<BlobId> getBlobIds(BlobValidatorConfig config, ClusterMap clusterMap) throws IOException {
    String[] ids = config.blobIds;
    if (config.blobIdsFilePath != null) {
      String content = new String(Files.readAllBytes(Paths.get(config.blobIdsFilePath)));
      ids = content.split(",");
    }
    List<BlobId> blobIds = new ArrayList<>();
    for (String id : ids) {
      blobIds.add(new BlobId(id, clusterMap));
    }
    return blobIds;
  }
Gets the list of {@link BlobId} that need to be operated upon.
@param config the {@link BlobValidatorConfig} to use.
@param clusterMap the {@link ClusterMap} instance to use.
@return the list of {@link BlobId} that need to be operated upon.
@throws IOException
ambry-tools/src/main/java/com/github/ambry/tools/admin/BlobValidator.java