Fixing source files. Several throws IOException declarations were missing