Updated code to read quiz questions from external file