add file_writer, file_writer_spec