code: function move(file, targetDirectory) {
    return new Promise((resolve, reject) => {
      const unLink = promisify(fs.unlink);
      const inputStream = fs.createReadStream(file);
      const outputStream = fs.createWriteStream(targetDirectory);
  
      inputStream.pipe(outputStream);
      inputStream.on('end', (err) => {
        if(err) {
          reject(err);
        } else {
          unLink(file);
          resolve(true);
        }
      });
    });
  }
docs: Move file
  @param file
  @param targetDirectory
  @return {Promise.<void>}