code: function again (err, obj, currentFile) {
        var file = path.basename(currentFile, '.json')
        //x += 1
        if (err) 
          errObj[file] = err
        else {
          retObj[file] = attachMethods(obj, currentFile)
        }
  
        if (files.length > 0)
          readFile(files.pop(), options, again)
        else {
          if (Object.keys(errObj).length > 0)
            callback(new Error('jsoncfg: An error occured. See the third parameter.'), retObj, errObj)
          else
            callback(null, retObj, null)
        }
      }
docs: console.log('TOTAL: ' + files.length) var x = 0