Hi guys. The for loop runs 100% perfectly except its not writing the values to the file.(Yes I know its meant to be 'outfile' but im writing out to two different files so I thought that I might not be able to use the same object to write to two files. Would it make a difference?