jsonfile callback fixed.