async listFiles({ deviceType, filePath, ignoreHidden, storageId }) {
    checkIf(deviceType, 'string');
    checkIf(filePath, 'string');
    checkIf(ignoreHidden, 'boolean');

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

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

    return result;
  }
description - Fetch files in the path

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