docs: function getImages(list, callback)
      {
          Q.forEach(list, function (el) {
            "use strict";   
            var defer = Q.defer();
            setTimeout(function () {
              doSomething(el);
              defer.resolve(el);
            }, 10);
      
            return defer.promise;
          }).then(function (resolutions)
          {
           "use strict";
           writeFile(callback);
           
          });
      }