any problem with the code?
int update_pic(User *user, const char *filename) {
    if(strlen(filename) >= MAX_NAME){return 2;}
    FILE * f = fopen(filename, "r");
    if(f == NULL){return 1;}
    fclose(f);
    strcpy(user->profile_pic, filename);
    return 0;
}