* refactor: await fs.readFile instead of sync version * fix: replace fs and tmpDir sync with promises