Setup index file.