Started working on the output filter
First version with funcitonal output filter, file reading from outputfile using apr_file_gets seems to be very slow