XRDFile.insert

XRDFile.insert(index, obj)

Implement the insert method.