you would use a try/catch block. exactly where to insert it would depend on
what you've coded already.
an i/o exception doesn't necessarily only mean an excrypted file; you would have
to parse the lastexception message captured in the catch part of the try/catch block.
clearly, any i/o exception would cause an abort, but the lastexception message should
confirm the exact nature of the i/o exception. a lot depends on how the underlying code
in the conversion routine was written.