put one file write into background thread.