code: public static void main(String[] args) {
          try {
              // Parse arguments: homeDir idStart idCount
              File homeDir = new File(args[0]);
              int idStart = Integer.parseInt(args[1]);
              int idCount = Integer.parseInt(args[2]);
              
              // Create an instance of KratiDataPartition
              KratiDataPartition p = new KratiDataPartition(homeDir, idStart, idCount);
              
              // Populate data partition
              p.populate();
              
              // Perform some random reads from data partition.
              p.doRandomReads(10);
              
              // Close data partition
              p.close();
          } catch(Exception e) {
              e.printStackTrace();
          }
      }
docs: java -Xmx4G krati.examples.KratiDataPartition homeDir idStart idCount