# Is it better to read a file line by line and maybe allicate extra memory for what you need or to read it all at once and work with that?
# Depends on the size of the file + the purpose of reading. Try to default to "all at once" if you can.