Yep, so you would need to read a character from the user, open and search the file for that character in exactly the same way you currently do, then just count off 10 characters and do whatever you want to do with them.