modifying chunk sizes for large , adding a chunked write method