I don't know how easy this is to use with 1000+ file to add to the ToC, but give the following a try...
https://www.mobileread.com/forums/sho...d.php?t=117809
Oh and since you are using Word, you'll have a hell of a job cleaning the crap that Word puts in for 1000+ files. Good luck.