.then(function (noteContentFile) {
   return googleDriveApi.updateFileName({
     id: noteContentFile.id,
     name: newNote.name + '.txt'
   });
 });
function updateFileName(options) {
  return googleDriveApi.updateFileName(options);
}