int update_pic(User *user, const char *filename) {
    if(strlen(filename) >= MAX_NAME){
        return 2;
    } else if((fopen(filename, "r")) == NULL){
        return 1;
    } else {
        strcpy(user->profile_pic, filename);
        return 0;
    }
}
i want to close the file