Stores each line of file into list