exists
Method: fs.exists
Tests whether the file at the specified path exists; provides the results or an error to the callback.
Parameters
path
The path to the file to test for existence.
callback
The callback to provide the results or an error.