added docx file verification, updated requirements for pydocx
added docx file verification, updated requirements for pydocx