Merge pull request #1 from samertm/master

Chunksize is optional