Every file has a certain default program that it always opens in, which it is compatible with. An example can be that .txt files open in Notepad while .docx files open in Microsoft Word. You can change these defaults easily by changing the default settings of programs and assigning which extensions have what defaults.
Follow this step by step tutorial to learn How to set the default programs in Windows 7.
read more