Adds capability to check if index file was found