add sanity check for empty config file
add abort method to rework config error handling