added procedure for readin tree-structured discussions