Introduction
Reading text files lets your program get information stored in files. This helps your program use data saved earlier or from other sources.
You want to load a list of names saved in a file to show in your app.
You need to read a configuration file to set up your program.
You want to process a log file to find errors or important events.
You have a text file with data and want to analyze or display it.