change to fs.exists