data.txt file handeling