Error when try to open .docx document

i got error like this,
“failed to open document. Please ensure file type is supported and not corrupted and try again”
when try to open file doc… any idea for this?

this is my code to open the file

but when i try to open file .xml it works. any idea?