buf.append( ldif.getAbsolutePath() );
buf.append( getCanonical( ldif ) );
    private void addFileEntry( DirContext root, File ldif ) throws NamingException    {        String rdnAttr = File.pathSeparatorChar == '\\' ? WINDOWSFILE_ATTR : UNIXFILE_ATTR;        String oc = File.pathSeparatorChar == '\\' ? WINDOWSFILE_OC : UNIXFILE_OC;        StringBuffer buf = new StringBuffer();        buf.append( rdnAttr );        buf.append( "=" );        buf.append( ldif.getAbsolutePath() );        buf.append( "," );        buf.append( LDIF_FILES_DN );        Attributes entry = new BasicAttributes( rdnAttr, ldif.getAbsolutePath(), true );        entry.put( "objectClass", "top" );        entry.get( "objectClass" ).add( oc );        root.createSubcontext( buf.toString(), entry );    }