code: function lstatFiles(dirPath, dirContent) {
      return new Promise(function ($return, $error) {
          var readFiles = dirContent.map(function (relativePath) {
              return new Promise(function ($return, $error) {
                  var path, lstat;
  
                  path = resolve(dirPath, relativePath);
                  return Promise.resolve(makePromise(fs.lstat, path)).then(function ($await_1) {
                      try {
                          lstat = $await_1;
                          return $return({
                              lstat,
                              path,
                              relativePath
                          });
                      } catch ($boundEx) {
                          return $error($boundEx);
                      }
                  }.bind(this), $error);
              }.bind(this));
          });
          return $return(Promise.all(readFiles));
      }.bind(this));
  }
docs: A file representation
  @typedef File
  @property {fs.Stats} lstat result of lstat
  @property {string} path full path to the file
  @property {string} relativePath path inside of directory
   
  Update information about directory's content with lstat.
  @param {string} dirPath Path to the root directory
  @param {string[]} dirContent
  @returns {File[]} An array with file objects.