@Override
    public boolean find(final Path file, final ListProgressListener listener) throws BackgroundException {
        if(file.isRoot()) {
            return true;
        }
        try {
            new SFTPAttributesFinderFeature(session).find(file, listener);
            return true;
        }
        catch(NotfoundException e) {
            // We expect SSH_FXP_STATUS if the file is not found
            return false;
        }
    }
@Test
    public void testFindRoot() throws Exception {
        assertTrue(new SFTPFindFeature(session).find(new Path("/", EnumSet.of(Path.Type.directory))));
    }