Adding index to file diff.