Index file (code from Nemesis).