Dom has done already a function on simpeg to read at least one of the formats https://programtalk.com/vs2/python/12012/simpeg/SimPEG/Utils/io_utils.py/