commented out fs.existsSync code for now