checking rating of a movie given in a txt file