Caught IOException from the file dialogue