very good it's correct

but i need to overwrite in the outfile not in testoutfile
i mean without extracting the solutions lines and put them in other file
i need all information and the same arrangment of outfile
because most of my codes depends on outfile.txt arrangment

thanks