           type: if opts.type then opts.type else 'application/*'
           size: if opts.size then opts.size else buffer.length
           extension: extension
-      isVideo:    if opts.type then opts.type.toLowerCase().indexOf("video") > -1 else false
-      isAudio:    if opts.type then opts.type.toLowerCase().indexOf("audio") > -1 else false
-      isImage:    if opts.type then opts.type.toLowerCase().indexOf("image") > -1 else false
-      _prefix:    @_prefix
+      isVideo: if opts.type then opts.type.toLowerCase().indexOf("video") > -1 else false
+      isAudio: if opts.type then opts.type.toLowerCase().indexOf("audio") > -1 else false
+      isImage: if opts.type then opts.type.toLowerCase().indexOf("image") > -1 else false
+      _prefix: @_prefix
       _collectionName: @collectionName
       _storagePath:    @storagePath
       _downloadRoute:  @downloadRoute
 
     console.info "Meteor.Files Debugger: The file #{fileName} (binary) was added to #{@collectionName}" if @debug
-
 
     if callback
       fs.outputFile path, buffer, 'binary', callback

              else
                result.continueFrom.push () ->
                  if data.chunk + 1 <= chunksQtyInPart
                    from         = currentChunk * self.chunkSize
                    to           = from + self.chunkSize

                    fileReader.readAsArrayBuffer filePart.slice from, to
                    currentChunk = ++data.chunk

    extension     = fileName.split('.').pop()
    path          = "#{@storagePath}/#{randFileName}.#{extension}"

    result = 
      name:       fileName
      extension:  extension
      path:       path
