only proceed if a boolean present
also exit(1) if an IOError appears