TRying to debug writing and interpreting data.txt