# File bin/dskexplorer.rb, line 183
def show_file(relative_path,filename,display_mode)
        absolute_path=make_absolute_path(relative_path)
        dsk=get_dsk_from_cache(absolute_path)
        file=dsk.files[filename]
        if file.nil? then
                s="<i>#{filename} not found</i>"
        else 
                s="<hl><pre>"
                if display_mode=="hex" then
                        s+=file.hex_dump
                elsif display_mode=="list" && file.file_type=='B'
                        then s+=file.disassembly 
                else 
                        s+= file.to_s
                end
                s+="\n</pre><hl>"
        end
        s
end