async write needs flat file