#vulnerable code 
                                public static SlaContract getInstance(final String jsonFilePath) {
        return getInstanceInternal(ResourceLoader.getInputStream(jsonFilePath, SlaContract.class));
    } 
                            #location 2 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public static SlaContract getInstance(final String jsonFilePath) {
        return getInstanceInternal(ResourceLoader.newInputStream(jsonFilePath, SlaContract.class));
    }