parsed the text file that reads in the flashcards