Files and exceptions

123. Computer memory and files
124. Opening and closing a file for reading: file and close
125. Opening and closing a file for writing: file and close
126. Reading a whole text file at once: read()
127. Reading a whole text file at once: readlines()
128. Writing to a text file: write()
129. Writing to a text file: write()