write many chunks from one file