public ProgressLoggers addFileSize(Path file) {
    return add(() -> {
      String bytes;
      try {
        bytes = format.storage(Files.size(file), false);
      } catch (IOException e) {
        bytes = "-";
      }
      return " " + padRight(bytes, 5);
    });
  }
Adds the current number of items in a queue and the queue's size to the output.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/ProgressLoggers.java