I have a file with an unkown number of lines. Each line is going to be red into an array of structs. What is the best way for doing this? For example do I have to go through the entire file once, just to determine the number of lines so I can make the array that size?