in windows cmd, merge two files
copy textfile1.txt + textfile2.txt + textfile3.txt mergedfile.txt
This is a better approach:
https://smallbusiness.chron.com/combine-adobe-acrobat-files-create-one-document-78963.html
How to Combine Word Documents & Maintain Different Headers