#fixed code
                                public static BriteNetworkTopology getInstance(final String fileName){
        final InputStreamReader reader = ResourceLoader.newInputStreamReader(fileName, BriteNetworkTopology.class);
        return new BriteNetworkTopology(reader);
    }
#vulnerable code 
                                public static BriteNetworkTopology getInstance(final String fileName){
        final InputStreamReader reader = new InputStreamReader(ResourceLoader.getInputStream(fileName, BriteNetworkTopology.class));
        return new BriteNetworkTopology(reader);
    } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK