           throw err if err
 
           meteorFile = new MeteorFile file
-          # TODO: Fix this hack
+          # TODO: Use meteorFile.options instead of name
           meteorFile.name = publicationId
           meteorFile.upload file, 'uploadPublication',
             size: 128 * 1024,

    unless Meteor.user()
      Session.set 'uploadOverlayActive', false
      return

    _.each e.dataTransfer.files, (file) ->


              'importing.uploadProgress':
                $lt: 1
            ).count() == 0
              if template._amountOfImports > 1
                Meteor.Router.to '/u/' + Meteor.personId()
              else
                Meteor.Router.to '/p/' + publicationId

              template._amountOfImports = 0

      reader.readAsArrayBuffer file

