I think there are IO exceptions that might be a better match for the user for this