#vulnerable code 
                             public void colorize(InputFile i) {
		final File f = i.file();
		LOGGER.info("Color the file: " + f.getPath());
		highlighting.onFile(i);
		try {
			final BufferedReader br = new BufferedReader(
					new InputStreamReader(new FileInputStream(f), StandardCharsets.UTF_8));
			String line;
			int lineNumber = 1;
			while ((line = br.readLine()) != null) {
				searchAndColor(line, lineNumber);
				lineNumber++;
			}
			br.close();
		} catch (final IOException e) {
			LOGGER.error("IO Exception", e);
		}

		highlighting.save();

	} 
                            #location 15 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             public void colorize(InputFile i) {
		final File f = i.file();
		LOGGER.info("Color the file: " + f.getPath());
		highlighting.onFile(i);
		try (final BufferedReader br = new BufferedReader(
				new InputStreamReader(new FileInputStream(f), StandardCharsets.UTF_8))) {

			String line;
			int lineNumber = 1;
			while ((line = br.readLine()) != null) {
				searchAndColor(line, lineNumber);
				lineNumber++;
			}
			br.close();
		} catch (final IOException e) {
			LOGGER.error("IO Exception", e);
		}

		highlighting.save();

	}