Changed fs.readFileSync to non-blocking