# File lib/dragonfly/app.rb, line 213
    def ext_for(mime_type)
      return 'txt' if mime_type == 'text/plain'
      ext = key_for(mime_types, mime_type)
      ext.tr('.', '') if ext
    end