Split out the MDPR chunk reading into its own function.