public static PeakTrafficResult validateInput(String[] args) {
        if (args == null || args.length == 0) {
            return PeakTrafficResult.NO_FILE_PROVIDED;
        } else if (args.length > 1) {
            return PeakTrafficResult.TOO_MANY_ARGUMENTS;
        } else {
            final String path = args[0];
            if (!new File(path).exists()) {
                return PeakTrafficResult.NO_VALID_PATH;
            }
        }
        return PeakTrafficResult.OK;
    }