read document