private static void parseNext(final Iterator<String> argIter) {
        final String flag = argIter.next();

        if ("--license".equals(flag)) {
            printFile(LICENSE_FILE, System.out);
            System.exit(0);
        } else if ("--help".equals(flag)) {
            printFile(USAGE_FILE, System.out);
            System.exit(0);
        } else {
            throw new IllegalArgumentException("Unrecognized option: " + flag);
        }
    }