maybe we can check for error code here and execute fs.exists  only for some errors?