Add ability to read by block, add file size check