code: function createGlobalFolder() {
          var deferred = Q.defer();
  
          // Create the results folder if it doesn't exist
          fs.exists(resultsDir, function(exists) {
              if (exists) {
                  deferred.resolve();
              } else {
                  debug('Creating the global results folder', resultsDir);
                  fs.mkdir(resultsDir, function(err) {
                      if (err) {
                          deferred.reject(err);
                      } else {
                          deferred.resolve();
                      }
                  });
              }
          });
  
          return deferred.promise;
      }
docs: The folder /results/