Alterar o nome do arquivo em node.js

console.log("Creating a new file...")
fs.writeFileSync("rohan.txt", text);
Noorulain Fatima