manual merge of index file