Added chunking on file downloads