#vulnerable code 
                                public void loadModelFromFile(String modelFilePath, String rangeFilePath) throws IOException {
        BufferedReader modelFile = new BufferedReader(new InputStreamReader(new FileInputStream(modelFilePath)));
        BufferedReader rangeFile = null;
        if (rangeFilePath != null) {
            rangeFile = new BufferedReader(new InputStreamReader(new FileInputStream(rangeFilePath)));
        }
        loadModelFromFile(modelFile, rangeFile);
    } 
                            #location 7 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public void loadModelFromFile(String modelFilePath, String rangeFilePath) throws IOException {
        BufferedReader modelFile = new BufferedReader(new InputStreamReader(new FileInputStream(modelFilePath), "UTF-8"));
        BufferedReader rangeFile = null;
        if (rangeFilePath != null) {
            rangeFile = new BufferedReader(new InputStreamReader(new FileInputStream(rangeFilePath), "UTF-8"));
        }
        loadModelFromFile(modelFile, rangeFile);
    }