I have a file. I am splitting it in a class. Also, I want to return top n years having the highest number of movie produced. And I will use lines attricute to get data.