Creating new index file