private static Pair<String, String> checkArgs(String[] args) {
    String filename = "test.tsfile";
    String outFile = "TsFile_sketch_view.txt";
    if (args.length == 1) {
      filename = args[0];
    } else if (args.length == 2) {
      filename = args[0];
      outFile = args[1];
    }
    return new Pair<>(filename, outFile);
  }
load by dfs, and sort by TreeMap

@param metadataIndexNode current node
@param metadataIndexNodeMap result map, key is offset
@param treeOutputStringBuffer result list, string is index tree
@param deep current deep
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/TsFileSketchTool.java