Many parents have fond memories of their children hanging on to every word of a bedtime story.