reads a text file and generates flashcards, uses a GUI