There should be plenty of online resources for reading from files and storing into a linked list. Once you understand both of them, combining the two ideas should be quite straightforward.