Chunking of files corrected