rename variable
add 'overwrite if exist' option when getting toc files