I am trying to develop a POS system in Java and I\'m writing the incoming phone number to a text file. Because its in a while loop and continuously checking for data, it is cont