#vulnerable code 
                                private JsonNode buildTree_and_getRoot_fromFile(File jsonFile){
        JsonNode node = null;
        try {
            ObjectMapper objectMapper = new ObjectMapper();
            String jsonContent = "";
            BufferedReader reader = new BufferedReader(new FileReader(jsonFile));
            String line;
            while((line = reader.readLine()) != null) jsonContent += line;
            reader.close();
            node = objectMapper.readTree(jsonContent);
        } catch (IOException e) {
            e.printStackTrace();
            System.exit(1);
        }
        return node;
    } 
                            #location 11 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                private JsonNode buildTree_and_getRoot_fromFile(File jsonFile){
        JsonNode node = null;
        try {
            ObjectMapper objectMapper = new ObjectMapper();
            node = objectMapper.readTree(new FileReader(jsonFile)).path(JsonConstants.PROBLEM);
        } catch (IOException e) {
            e.printStackTrace();
            System.exit(1);
        }
        return node;
    }