Introduction
We open files to read or write data. Closing files saves changes and frees resources.
When you want to save user input to a file.
When you need to read data from a file for your program.
When you want to update or add information to an existing file.
When you finish working with a file and want to release it properly.