Depending on what the contents need to be, you can create and save a file as type WORD in suitescript.
There is a JavaScript library called docs.js for creating word docs. There may be a way to import it in for SuiteScript use. I haven’t used it with SuiteScript myself though.