main function takes a file in parameter and tries to guess main characters names