       lastFile = files.last
       for file, index in files
         sizeInMb = file.size/1024/1024
-        if sizeInMb > 50 && @getOptions().uploadToVM
+        if sizeInMb > 100 && @getOptions().uploadToVM
           new KDNotificationView
             type    : "tray"
             title   : "File is too big to upload!"

      @on "dragleave", => @unsetClass "hover"
      @on "drop",      => @unsetClass "hover"

    @on "uploadFile", (file, percent)=>
      finder = KD.getSingleton "finderController"
      filePath  = "[#{file.vmName}]#{file.path}"
      finder.treeController.nodes[filePath]?.updateProgressView percent

    @on "uploadStart", (file)=>
      finder = KD.getSingleton "finderController"
      filePath   = "[#{file.vmName}]#{file.path}"
      parentPath = "[#{file.vmName}]#{file.parentPath}"

      file._isBeingUploaded = yes
      nodeView = finder.treeController.nodes[filePath]
      if nodeView
        nodeView.updateProgressView 1
        nodeView.on "abortProgress", => file.abort yes
      else
        finder.treeController.on "NodeWasAdded", (nodeView)->
          if nodeView.getData().path is filePath and file._isBeingUploaded
            nodeView.updateProgressView 1
            nodeView.on "abortProgress", => file.abort yes

        file.save "", -> finder.revealPath parentPath

    @on "uploadEnd", (file)->
      file._isBeingUploaded = no

  reset: ->
    {uploadToVM, defaultPath, title} = @getOptions()

                callback: ->
                  modalStack.destroy()

    fsUploadFolder.exists (err, exists)=>
      unless exists
      then fsUploadFolder.save -> upload()
      else upload()

    return fsFileToUpload
