Update WritingToFile.java