     if file.size > @options.maxFilesize * 1024 * 1024
       done "File is too big (" + (Math.round(file.size / 1024 / 10.24) / 100) + "MB). Max filesize: " + @options.maxFilesize + "MB"
     else
-      # Add file size check here.
       @options.accept.call this, file, done
 
   addFile: (file) ->

    # If the file doesn't match the file type.
    dictInvalidFileType: "You can't upload files of this type."


    # If `done()` is called without argument the file is accepted
    # If you call it with an error message, the file is rejected


  # Called internally when processing is finished.
  # Individual callbacks have to be called in the appropriate sections.
  errorProcessing: (file, message, xhr) ->
    @filesProcessing = without(@filesProcessing, file)
    file.processing = no
    @processQueue()
    @emit "error", file, message, xhr
    @emit "complete", file


