After searching for a particular file, we'll probably follow up by opening it and reading it. Text files are very simple yet very powerful files. They store data in plain text, without complicated binary formats.
Text file support is provided natively in Python, and it's easy to consider it a collection of lines.