Deduplicate reload document code

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Martin Strauß <MStrauss@MuellerBBM-vas.de>