use chunks in the filerecord