frprog.py: created function read_mhx_file