Add import, catch IOError too.