private String getType(String houzhui){
        if(houzhui.equals("jpg")||houzhui.equals("jpeg")||houzhui.equals("png")||houzhui.equals("gif"))
            return "image";
        else if(houzhui.equals("txt"))
            return "text";
        return "";
    }