Added file i/o examples.