add an index file