   uploadFile: (file) ->
     xhr = new XMLHttpRequest()
 
-    formData = new FormData()
-
-    # Adding all @options parameters
-    formData.append name, key for key, name of @options.params if @options.params
-
-    # Take care of other input elements
-    if @elementTagName = "FORM"
-      for inputElement in @element.find "input, textarea, select, button"
-        input = o inputElement
-        inputName = input.attr("name")
-
-        if !input.attr("type") or input.attr("type").toLowerCase() != "checkbox" or inputElement.checked
-          formData.append input.attr("name"), input.val()
-
-    # Finally add the file
-    # Has to be last because some servers (eg: S3) expect the file to be the
-    # last parameter
-    formData.append @options.paramName, file
-
     xhr.open "POST", @options.url, true
 
     handleError = =>

    xhr.setRequestHeader "Cache-Control", "no-cache"
    xhr.setRequestHeader "X-Requested-With", "XMLHttpRequest"
    xhr.setRequestHeader "X-File-Name", file.name

    @emit "sending", file, xhr
    xhr.send formData

    "error"
    "processingfile"
    "uploadprogress"
    "preparingupload"
    "sending"
    "success"
    "complete"
