Fixed readFileSync call