using sync call fs.ReadFile in web.js