async renameFile({ deviceType, filePath, newFilename, storageId }) {
    checkIf(deviceType, 'string');
    checkIf(filePath, 'string');
    checkIf(newFilename, 'string');

    const result = await this.repository.renameFile({
      deviceType,
      filePath,
      newFilename,
      storageId,
    });

    this._sentEvent({ result, deviceType, eventKey: 'RENAME_FILE' });

    return result;
  }
description - Rename a file

@param {string} deviceType
@param {string} filePath
@param {string} newFilename
@param {string} storageId
@return {Promise<{data: null|boolean, error: string|null, stderr: string|null}>}