Difficulty: 2/10fs module, asynchronous APIs, error handlingYou can delete a file in Node.js using the fs.unlink() method. Here's an example:javascriptCopyScenario Questions0-2 years experience1We have a temporary log file that should be removed after we finish processing it. Which Node.js API would you use and how would you handle any errors?2If you call fs.unlinkSync on a path that doesn't exist, what happens and how would you guard against it?3Write a short snippet that deletes a file asynchronously and logs either success or the error that occurred.Follow-up QuestionsWhat would you do if the deletion fails because of a permission error?How would you test that your file‑deletion logic works correctly?Can you describe how you would monitor file deletions in production?Suggest Improvement