mgj : read all, collapse all, expand all functionalities added.