PATH.existsSyncis deprecated, replace with FS.existsSync