Simple function to read every line in a file individually and append each after the other to a list