Thank you, you are totally right - it's a shame for me, that I overlooked this. The $line variable did not contain the rest of the text...
And on your second sentence: yes, I saw it but I wanted to take care of it later. Anyway, thanks for the heads up! :)