public Region lookup(final Path file) throws BackgroundException {
        final Path container = containerService.getContainer(file);
        if(Location.unknown.equals(new SwiftLocationFeature.SwiftRegion(container.attributes().getRegion()))) {
            return this.lookup(location.getLocation(container));
        }
        return this.lookup(new SwiftLocationFeature.SwiftRegion(container.attributes().getRegion()));
    }
@Test
    public void testLookupDefault() throws Exception {
        final Region lookup = new SwiftRegionService(session).lookup(Location.unknown);
        assertTrue(lookup.isDefault());
        assertEquals("DFW", lookup.getRegionId());
        assertNotNull(lookup.getCDNManagementUrl());
        assertNotNull(lookup.getStorageUrl());
    }