then you read line by line. you check each line if it starts with "abc" and if it does, you end the loop.