Java and IO file code notes.