Fixed readFileSync to not be really broken