If your docx or doc files open with Notepad, Wordpad or LibreOffice, but you want it to open with Microsoft Word, here is a tutorial for you. You probably set up other apps as default by accident, by here is a simple solution to make Word default again.