tools for reading outputs of newC++