17.08.2010 14:41, Stanislav Blinov wrote:
                write(line);
[snip]
                writef(line);


[snip]

Sorry, both should be  'write'.

--