Added additional checks to see the options- and callbackfile was succesfully parsed