film.setName(scan.next())
scan.next()returns a String so that looks OK. Check the error message sagain, it's probably something else.
i was unable to call the addFilm method. :< why?
You need an instance of whatever class addFilm is defined in. What class is "collection" an instance of? Once again, check the exact error message.