Everything working for multiple tables.
Merged index and table files