Answer:
The house was shut down for the night, having read the children a bedtime story.
Step-by-step explanation:
A modifier gives more reason or undertone about a sentence. So by using the sentence as it's given in the sentence; it doesn't show it's function but in the rewritten form it does just that. It explains why the door was shut down for the night.