import { readFile } from 'node:fs/promises'
import { getRootDir } from '../utils/root-dir.js'
import path from 'node:path'
const rootDir = await getRootDir()
const filePath = path.join(rootDir, 'data', 'example.txt')
const fileContent = await readFile(filePath, {
encoding: 'utf-8',
})
console.log(fileContent)