private static File[] argsToFile(Collection<String> args) {
    File[] dirs = new File[args.size()];

    int i = 0;
    for (String dir : args) {
      dirs[i++] = new File(dir);
    }
    return dirs;
  }
this is a test hook to allow us to drive SystemAdmin functions without invoking main(), which
can call System.exit().
geode-core/src/main/java/org/apache/geode/internal/SystemAdmin.java