# File lib/handlers/file.rb, line 74
      def show(file_name)
        if options.remote?
          begin
            require_appliance_directory do |appliance, files|
              id= files[:file_list].is_uploaded?(file_name)
              if id
                response= StudioApi::File.find(id)
                say response.content
              else
                say "File hasn't been uploaded.\nLocal Copy:", :red
                say ApplianceDirectory.show_file(File.join('files',file_name))
              end
            end
          rescue ApplianceDirectoryError
            if options.file_id
              say StudioApi::File.find(options.file_id).content
            else
              files= StudioApi::File.find(:all)
              files= files.select {|f| f.filename == file_name}
              raise Thor::Error, "File not found or ambiguous file name " unless files.length == 1
              say files[0].content
            end
          end
        else
          say ApplianceDirectory.show_file(File.join('files', file_name))
        end
      end