A simple program to explain File I/O in Java