add spark index file