Set default application for filetype
Right-click the file and go to Get info (shortcut: Cmd+I). There will be an option to set that file's default application. Select it and use Change All... to make the default apply to all others of the type.

:::::::::::::::::::::::::