EDIT::Fixed it. Thanks for looking!
Printable View
EDIT::Fixed it. Thanks for looking!
Do you reset the file pointer to the beginning of the file(stream)? I guess it reads the title and then just prints the rest (without looking in detail your code)