#vulnerable code 
                                @SuppressWarnings("ConstantConditions")
    @Test
    public void ignoreFileOnPulling() throws IOException, URISyntaxException {
        Swift swift = new Swift()
                .setOnFileObjectStore("object-store");
        website = new WebsiteMock(new AccountMock(swift), "container1");
        website.pullDirectory(this.writeDir);
        assertEquals(2, writeDir.listFiles().length); // 2 files
        website = new WebsiteMock(new AccountMock(swift), "container2")
                .setIgnoreFilters(new String[] {"checkmark.png"});
        website.pullDirectory(this.writeDir);
        assertEquals(6, writeDir.listFiles().length); // 6 files, checkmark.png has not been removed
    } 
                            #location 8 
                            #vulnerability type NULL_DEREFERENCE
#fixed code
                                @SuppressWarnings("ConstantConditions")
    @Test
    public void ignoreFileOnPulling() throws IOException, URISyntaxException {
        Swift swift = new Swift()
                .setOnFileObjectStore("object-store", false);
        website = new WebsiteMock(new AccountMock(swift), "container1");
        website.pullDirectory(this.writeDir);
        assertEquals(2, writeDir.listFiles().length); // 2 files
        website = new WebsiteMock(new AccountMock(swift), "container2")
                .setIgnoreFilters(new String[] {"checkmark.png"});
        website.pullDirectory(this.writeDir);
        assertEquals(6, writeDir.listFiles().length); // 6 files, checkmark.png has not been removed
    }