Minor update to exception 'handling'
Update to IOException 'handling'
Formatted code
Updated the two test classes