this is used to make a file.txt that appends a float number into it