Changed beginning hideAnswers file parsing functionality into a function
to be moved into another .py file later