add notes on reading from and writing to files