adding an index file