While there are lines of input Skip this line unless it looks like data (not headers) Split the line into the two relevant sections Extract the filename from the file path.