code: function(segmentIndex, index, obj) {
        var file = obj;
  
        if (file.type === 'VIDEO' || file.type === 'AUDIO') {
          file = findSupportedSource(file);
        }
  
        if (file) {
          _bytesTotal += file.size;
          _files[segmentIndex].push(file);
        }
      }
docs: /*
  
  @description Populate the _files array increasing the _bytesTotal var
  @param index: file index
  @param obj: the json node representing the file properties