file writer, because mongodbs performance is not enough