1. Add method for reading and writing files.