added IOException
Merge pull request #4 from Dundee/dm-io-exception

added IOException