private String readNextDirectory(){
        StringBuilder sb = new StringBuilder();

        int c;

        try {
            while((c =this.is.read())!=-1 && c!=10 && c!=13){
                    sb.append((char)c);
            }
        } catch (IOException e) {
            e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
        }
        String args[] = sb.toString().split(" ");

        String pathOfParameter = args[1].trim();
        System.out.println(sb.toString());

        if(pathOfParameter.equals("/") || pathOfParameter.equals("/favicon.ico"))
           return "";
        else
           return pathOfParameter.substring(1,pathOfParameter.length());

    }