Learning File IO with an address book demo