private String fileSizeToString(long size) {
    return printSizeInBytes ? Long.toString(size) : Strings.humanReadableInt(size);
  }
Collect the hfiles and logs statistics of the snapshot and dump the file list if requested and
the collected information.
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotInfo.java