The table index file extension is by default set to .idx. Change the default index file extension with CTTable.SetIndexExtension(). CTTable.GetIndexExtension() retrieves the current index file extension for the table.
TOCIndex