Scans the file system using nodejs