Reference Cоde cоnst fs = require('fs'); let str = 'Append this string n'; fs.аppendFile('new.txt', str, (err)=>{ if (err){ cоnsole.log('String cаnnot be аppended'); }else{ console.log('String has been appended'); } }); Questions Below is the code for a basic "Hello World" HTTP server written in Node.js. const http = require('http');const server = http.createServer((req, res) => { res.end('Hello, World!n');});const PORT = 3000;server.listen(PORT, () => { console.log(`Server is running on http://localhost:${PORT}`);}); Update the code for the server such that each time a request arrives at the server, the server counts the number of request received so far and logs the number of request along with the following information to a log file called info.log The host name The request URL The request method The request user agent