modified createDoc now get docx file in a string base64 encoded