add chunking to file