ROX filetyping is based around MIME-types. The filer guesses the MIME type for a file based on its name and contents.
See the MIME-Editor application page for more information about this.
To set which application gets run when you open a file, choose `Set Run Action' from the `File' menu. Either drag an application onto the dialog box that appears, or enter a shell command to run for files of that type.