           fileReader.readAsArrayBuffer filePart.slice 0, self.chunkSize
 
         for part, i in parts
-          part = parts[i]
           fileReader = new FileReader
           upload.call null, file.slice(part.from, part.to), i + 1, part.chunksQty, fileReader
-          --i
 
         return result
   else

        check partsQty, Number
        check fileSize, Number

        console.info "Meteor.Files Debugger: Received chunk ##{currentChunk} of #{chunksQty} chunks, in part: #{part}, file: #{fileData.name or fileData.fileName}" if self.debug

        i = 0


      console.info "Meteor.Files Debugger: The file #{fileName} (binary) was added to #{@collectionName}" if @debug

      fs.outputFileSync path, buffer, 'binary'

      result._id = @collection.insert _.clone result
      callback and callback null, result
      return result
  else
