Fix reading files by chunks
Merge pull request #157 from izquierdo/read-by-chunks

Fix reading files by chunks