add readmsgs.py with pass()