python search file for list of words