Dear Diary,
The True Bestower of Bounties wants in return for those valuable bounties and goods is three things: one is remembrance, another is thanks, and the other is reflection.
Saying, “In the Name of God” at the start is remembrance and, “All praise be to God” at the end is thanks.