modifies the unsanitized.txt to add indexes