We have offered a number of suggestions in your previous posts of this same question. Please go back and review them, including the code samples. If you have a specific problem with any offered solution then please post a reply to that message and explain what does not work.
Also, your code above is wrong:
while(fgets(string, STRING_LEN, fp1)){
char* data = strtok(string, ",");
printf("data = %s\n", data);
}