Try using grep to search for the clues in the crimescene file: grep "CLUE" crimescene