private static String getTopLevelName(File cvsPath) {
    File current = cvsPath;
    while(current.getParentFile() != null) current = current.getParentFile();
    return current.getName();
  }
private static String getTopLevelName(File cvsPath)