#vulnerable code 
                             private static void init() {
		try {
			prop.load(new FileInputStream(new File(PATH_FILE)));
		} catch (FileNotFoundException e) {
			LOGGER.error("Unable to load the config file", e);
		} catch (IOException e) {
			LOGGER.error("Unable to load the config file", e);
		}
	} 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                             private static void init() {
		try {
			
			LOGGER.info("Load "+PATH_FILE);
			
			InputStream input=GoKeyRule.class.getResourceAsStream(PATH_FILE);
			
			
			if(input==null){
				throw new FileNotFoundException(PATH_FILE);
			}
		
			prop.load(input);
		} catch (IOException e) {
			LOGGER.error("Unable to load the config file", e);
		}
	}