7. a) Reading and writing file (Quiz)