Don't let index go further than size of allFiles in HamshahriReader