Getting the content of a file is called reading a file.
To read a file, use "r" instead of "a" when opening the file.
"r"
"a"
Nice! An easy way to remember is that "r" stands for read.
Make sure to use "r" which stands for read.