File I/O simple example