> i think it doesn't harm to clear the buffer for creating the file. As we > see, linebreaks are in the buffer, and this can happen also with user > config files. So +1 for doing the clean. What about using t3lib_div::cleanOutputBuffers() for this? Kind regards, Alex