Created the index file with map