Create FileIO.java

the example of reading from and writing on a file