i wanna write file in one call but i cant looping for creating path.
async function asyncForEach(array, callback) { for (let index = 0; index < array.lengt