Merge index into 1 file