private File getOutputName() {
    String inName = archiveName.getPath();
    StringBuilder buf = new StringBuilder(inName.length() + 4);
    int idx = inName.lastIndexOf('.');
    if (idx == -1) {
      buf.append(inName);
    } else {
      buf.append(inName, 0, idx);
    }
    buf.append('-').append(splitCount);
    if (idx != -1) {
      buf.append(inName.substring(idx));
    }
    return new File(buf.toString());
  }
Returns true if token read, false if eof.
geode-core/src/main/java/org/apache/geode/internal/statistics/ArchiveSplitter.java