I'm using mongoose to query a database for objects and wish to write each object to a file. The console.log shows me that the data I want is being returned from the query, but the file that is created by fs.append (./returned.json) is always empty. Is it not possible to do this within an async function? 

```
async function findReturned(){
    try {
        const returned = await Data.find({});
        returned.forEach(function(file) {
            returnedfiles = file.BACSDocument;
            console.log(returnedfiles);
            fs.appendFile('./returned.json', returnedfiles, 'utf-8', (err) => {
                if (err) throw err;
            });
        });
        process.exit();
    } catch(e) {
        console.log('Oops...');
        console.error(e);
        process.exit();
    }
};

```