add IOError exception