im working on a word cookie game. i have a file with 429k english words but when i type my words it dosent count them not sure why. code is down below in Python

```
import random
from random import shuffle

letters = ["c", "a", "e", "r", "u", "o", "i", "n", "b"]
score = 0
game_on = True
f = open(r"C:\Users\MSI\Desktop\wordlist.txt", "r")

def easy(letter_list, file):
    global score
    global game_on
    # unique_letters = [i for i in letter_list]
    # mode_letters = random.sample(unique_letters, 3)
    shuffle(letter_list)
    mode_letters = letter_list[:3]
    print(mode_letters)
    guess_word = input("combine the letters to form a word")
    for line in file:
        if guess_word in line:
            score += 1
            print("correct word you get a +1 to your score")
            print(score)
            return score
        else:
            print(" that's not a word start the game again")
            game_on = False
            return game_on

while game_on:
    print("hello welcome to word cookies game")
    difficulty = input("choose what difficulty you would like to have Easy / Medium / difficult").lower()
    if difficulty == "easy":
        easy(letters, f)

```