while (scanf(" %c %s %*d %*s %*s %d %*s %*d %*s %*s", &file_type, permissions, &file_size) != EOF) {scanf(" %s %d ", temp_s, &temp_i);
    
    while (scanf(" %c %s %*d %*s %*s %d %*s %*d %*s %*s ", &file_type, permissions, &file_size) != EOF) {
        if (file_type == '-' && file_size > cutoff_size) {
            if (argc == 2){
                count_so_far++;
            } else {
                if (check_permissions(permissions, argv[2]) == 0) {
                    count_so_far++;
                } 
            }
        }
    }