#vulnerable code 
                                private List<String> readContractList() {
        return ResourceLoader
                .getBufferedReader(getClass(), SLA_CONTRACTS_LIST)
                .lines()
                .filter(l -> !l.startsWith("#"))
                .filter(l -> !l.trim().isEmpty())
                .collect(toList());
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                private List<String> readContractList() {
        return ResourceLoader
                .newBufferedReader(SLA_CONTRACTS_LIST, getClass())
                .lines()
                .filter(l -> !l.startsWith("#"))
                .filter(l -> !l.trim().isEmpty())
                .collect(toList());
    }