docs: function maybeFinish() {
          if (to !== null) clearTimeout(to);
          to = setTimeout(function() {
              var alldone = true;
              var names = Object.keys(files);
              for (var i=0; i<names.length; i++) {
                  if (!files[names[i]]["done"]) {
                      alldone = false;
                      break;
                  }
              }
              if (alldone && !returned) {
                  returned = true;
                  callback(null);
              }
          }, 1000);
      }