docs: function MimeApps(type){
    this.apps = Promise.all(confDirs.map(function(dir){
        return readdir(dir,"^mimeapps.list$");
      })).then(function (contents) {
        var obj = {};
        contents.forEach(function(file){
          if(!file||!(file = file["mimeapps.list"])||!(file = file["Default Applications"])){
            return;
          }
          Object.keys(file).forEach(function(key){
            if(!obj[key]){
              obj[key] = [];
            }
            obj[key].push( file[key]);
          });
        });
        return obj;
      });
  }