ihatestarch 48 Newbie Poster

After you find the names, since you know the next two lines are the phone number and address, you could keep reading the file until your count is incremented by 2, then get out of the loop on that condition. Reset the count and file position and ask the user again.