(doubt) I have to read the data from a file and insert them into a linked list [pendente]

the data in the text file is in the format:

001,003,10,8

the line must be inserted into a structure in the format:
values ​​of the structure {
int value1, value2, value3, value4;
};

How can I read from this file and insert it into this list?