<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def open_outside_spyder(self, fnames):

 """Open file outside Spyder with the appropriate application
 If this does not work, opening unknown file in Spyder, as text file"""

        for path in sorted(fnames):
            path = file_uri(path)
            ok = programs.start_file(path)
            if not ok:
                self.sig_edit.emit(path)