separate file_writer and buffer_writer