public static boolean loadCmd(String strCmd, StrideTrie trie){
        String strFile = "";

        try{

            if( strCmd.isEmpty() ) return false;
            String[] strs = strCmd.split("\\s+");
            if( strs[0].compareTo("load")!=0 ) return false;

            if( strs.length<2 ){
                System.out.println(" Load filename is neede!");
            } else {
                strFile = strs[1];
                if (strFile.charAt(0) != '/') {
                    strFile = Util.getCurDir() + strFile;
                }
                //System.out.println("Current Directory: " + Util.getCurDir());
                int maxNum = 0;
                if (strs.length >= 3) {
                    maxNum = Integer.parseInt(strs[2]);
                }
                int numOfRouters = 0;
                if (strs.length >= 4) {
                    numOfRouters = Integer.parseInt(strs[3]);
                }

                trie.init();//

                int[] nhdb = trie.loadFromFile(strFile,maxNum,numOfRouters);

                //trie.m_mnhdb.loadFromFile(strFile,maxNum,numOfRouters);

                long t1 = System.nanoTime();
                long t11 = System.currentTimeMillis();
                //loadFromFile(trie, strFile, maxNum);
                for(int i=nhdb[0];i<nhdb[1];i++){
                    trie.addEntry(trie.m_mnhdb.getRouteItem(i).ipAddr,trie.m_mnhdb.getRouteItem(i).maskLen,i);
                }
                long t2 = System.nanoTime();
                long t22 = System.currentTimeMillis();

                long between = t2 - t1;
                long microsecond = between/1000;
                long milis = (t22-t11);
                System.out.println("Total time is : " + microsecond + " us (microsecond). " + milis + " milisecond. insert time = " + microsecond/trie.m_total + " us (microsecond).");
                System.out.println("Total entries is : " + trie.m_total);
            }

            //get ip address and netmasklen

        }catch (Exception ex){
            System.out.println(strCmd + " failed!");
            //ex.printStackTrace();
            return false;
        }
        return true;
    }