adding an index-file