Use hash to determine the name of the index file