use less fifo but direct file writing instead