Change array.read to array.fromfile in mhd.py