chaning to the new data.txt for storing all the elements