Daten nicht in Dateiknoten Js schreiben

const fs = require('fs');

fs.readFile('file.txt', 'utf-8', (err, data) => {
    if(err) {
        throw err;
    }
    console.log(data);
});
Disgusted Dragonfly