Set up index file