finally get to the end of the index file