code: public static void dumpClusters(Cluster currentCluster,
                                      Cluster finalCluster,
                                      String outputDirName,
                                      String filePrefix) {
          dumpClusterToFile(outputDirName, filePrefix + currentClusterFileName, currentCluster);
          dumpClusterToFile(outputDirName, filePrefix + finalClusterFileName, finalCluster);
      }
docs: Given the initial and final cluster dumps it into the output directory
  
  @param currentCluster Initial cluster metadata
  @param finalCluster Final cluster metadata
  @param outputDirName Output directory where to dump this file
  @param filePrefix String to prepend to the initial & final cluster
  metadata files
  @throws IOException