How to set the default program to open a certain type of file in Mac OS X

http://www.bittbox.com/os-x/how-to-set-the-default-program-to-open-a-certain-type-of-file-in-mac-os-x