I think you might be better off reading the entire file at once with Read From spreadsheet File and then manipulating the resulting 2D array, but if you want to do it line by line then a good place to start is the Read Lines From File function on the File I/O palette. Inside of this is a case structure and case 2 reads one line at a time for x number of lines or until EOF is found.