Try fs.readFile and fs.writeFile