put an index file