ok ok a bit confused about that whole collection thing and the file read and write. I first need to get it to read the file and add each line into an array and than it runs the rest. When you add some more stuff to the array it adds to entrys to the array so that the length goes from like 6 to 9 and the new ones get filled. Than i want to get it to erase the document and create it again and write the whole array to it so that each part of the array is on a new line. If possible get it to replace the documents content so that it like scans it to see if any changes accured and than only add those changes in the right lines. I think now i am may be confusing some people but if you have a sample program you know of that reads a files than buts it into an array and you can add more strings to the array untill you close the program and so forth if you understand that thank you for understanding it.