Check the last three letters of file you are trying to open. for example Excel.doc or Excel.txt its the three letters after the dot which determines which type of file it is and which program that you need to use to open the particular file.
List:
Word
XML file type Extension
Document .docx
Macro-enabled document .docm
Template .dotx
Macro-enabled template .dotm
Excel
XML file type Extension
Workbook .xlsx
Macro-enabled workbook .xlsm
Template .xltx
Macro-enabled template .xltm
Non-XML binary workbook .xlsb
Macro-enabled add-in .xlam
PowerPoint
XML file type Extension
Presentation .pptx
Macro-enabled presentation .pptm
Template .potx
Macro-enabled template .potm
Macro-enabled add-in .ppam
Show .ppsx
Macro-enabled show .ppsm
Slide .sldx
Macro-enabled slide .sldm
Office theme .thmx
good luck i hope this helps.