docs: public static List<ByteBuffer> retrieveHashinatorConfigs(
          String path,
          String nonce,
          int maxConfigs,
          VoltLogger logger) throws IOException
     {
          VoltFile directory = new VoltFile(path);
          ArrayList<ByteBuffer> configs = new ArrayList<ByteBuffer>();
          if (directory.listFiles() == null) {
              return configs;
          }
          for (File file : directory.listFiles()) {
              if (file.getName().startsWith(nonce + "-host_") && file.getName().endsWith(HASH_EXTENSION)) {
                  byte[] rawData = new byte[(int) file.length()];
                  FileInputStream fis = null;
                  DataInputStream dis = null;
                  try {
                      fis = new FileInputStream(file);
                      dis = new DataInputStream(fis);
                      dis.readFully(rawData);
                      configs.add(ByteBuffer.wrap(rawData));
                  }
                  finally {
                      if (dis != null) {
                          dis.close();
                      }
                      if (fis != null) {
                          fis.close();
                      }
                  }
              }
          }
          return configs;
      }