I'll get to work on this when I get home.
So, you're sure it's line 3, not line 4, right?
And is it safe to assume all newlines will be 0x0D0A?
EDIT: nvm about the newlines, I just got that you don't actually want to modify the contents of the file, just the name.