Add an index file.