Open the shapefile immediately. This will cause an exception in case the file can't be opened and we can display an appropriate message.