async function walk(dir) {
            const files = await readdir(dir)
            const promises = files.map(async file => {
                const path = Path.join(dir, file)
                const stats = await stat(path)
                if (stats.isFile()) {
                    if (fileFilter(path, stats)) {
                        const params = await paramsBuilder(path, file, dir, stats)
                        await callback(params)
                    }
                } else if (stats.isDirectory()) {
                    if (dirFilter(file)) {
                        await walk(path)
                    }
                }
            })
            await Promise.all(promises)
        }
@param {boolean} shouldSave - Whether to save the content.
@param {string} contentType - The content type (e.g., 'markdown', 'html').
@param {boolean} skipSetContent - Whether to skip setting the content.
@param {any} saveContext - Contextual information for saving (optional).
@returns {string} - The content of the editor.