Setting up index file