I've head another look - `+ sectorSize` is indeed not what I meant to write; it should rather be `+ lSize`; thus preventing reads past the end of the file.