I thought I could do it with the 'fs' module, but i couldnt find the right function.
['https://Stackoverflow.com/questions/8841575', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1087995/']
```
fs = require('fs');        
fs.exists(path, function( exists ) {        
    console.log( ( exists  ? "File is there" : "File is not there" ) );         
});

```
See the [documentation for the `fs` module](http://nodejs.org/docs/latest/api/fs.html), in particular the "`stat`" family of functions (stat, fstat, lstat, statSync, fstatSync, lstatSync).