This methods can throw 2 kind of exception

* CorruptIndexException - if the index is corrupt
* IOException - if there is a low-level IO error

Should we handle them?