Went back to the original file, then replaced get_text_file method with main_menu in the SecretSanta class. That way the get_text method doesn't loop continuously if the text is invalid.