code: function saveSource(sourcePath, data) {
      return new Promise((fulfil, reject) => {
          fs.writeFile(sourcePath, data, 'utf8', err => {
              if (err) {
                  reject(err);
              } else {
                  fulfil(true);
              }
          });
      });
  }
docs: Save w promise