How to get 10 records at a time in a txt or xlsx list

@postwick
what I’m trying to do is an automation that will read a txt file and select 10 lines at a time to perform a search on a system until it finishes all the lines of the file

My difficulty is to select 10 records at a time to do the search