Made it work with fs.watchFile