I am reading from a data file sequentially, when i get to the last record in the file it reads it twice and outputs to my output file twice. I am using a while loop with a not end of file condtion, is there a place where i need to add an extra read or something??