A family of Microsoft word processing software products for creating web, email, and print documents.
The issue appears to be that the files with the dotm extension are not being recognised by your system as Word files.
Go to Windows>Settings>Apps>Default apps and scroll to the bottom of the screen and click on choose default applications by file type and scroll down to the .dotm file extension and select Word as the Default application.