Changed varaibles names from bag_list and bag_page to files and files_page resp.