exception handling added to CFB_parse.py