I am making a program with a simple link list class, each node holds an arry and a int. I made a Method where you create a new node and give it information, then it writes the information to a file. The problem is that when it writes the info to the file, it overwrites what was written before, thus the file only contains the information of the last node. Any help?