document read procedure