Fixing source files, several throws IOException declarations were missing