Update textReadWrite.java