#vulnerable code 
                                private void importNodes(File file) throws IOException {
        BufferedReader bf = new BufferedReader(new FileReader(file));
        final Data data = new Data(bf.readLine(), "\t", 0);
        String line;
        report.reset();
        while ((line = bf.readLine()) != null) {
            db.createNode(map(data.update(line)));
            report.dots();
        }
        report.finishImport("Nodes");
    } 
                            #location 9 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                private void importNodes(File file) throws IOException {
        BufferedReader bf = new BufferedReader(new FileReader(file));
        final Data data = new Data(bf.readLine(), "\t", 0);
        String line;
        report.reset();
        while ((line = bf.readLine()) != null) {
            db.createNode(data.update(line));
            report.dots();
        }
        report.finishImport("Nodes");
    }