lib/qx/tool/compiler/files/Utils.js
function(filename) {
      return new Promise((resolve, reject) => {
        fs.stat(filename, function(err, stats) {
          if (err && err.code != "ENOENT") {
            reject(err); 
          } else {
            resolve(err ? null : stats);
          }
        });
      });
    }
function(filename) {
      return new Promise((resolve, reject) => {
        fs.stat(filename, function(err, stats) {
          if (err && err.code != "ENOENT") {
            reject(err); 
          } else {
            resolve(err ? null : stats);
          }
        });
      });
    }
Returns the stats for a file, or null if the file does not exist

@param filename
@returns {fs.Stat}
@async