private static boolean isVersioned(File rootDirectory) throws IOException{
private static boolean isVersioned(File rootDirectory) {
    private static boolean isVersioned(File rootDirectory) throws IOException{        boolean result=false;        if(rootDirectory.exists()&&rootDirectory.isDirectory()){            File[] files=rootDirectory.listFiles();            result=files==null||files.length==0;            if(!result){                for(int i=0;i<files.length;i++){                    if(isReserved(files[i].getName())){                        result=true;                        break;                    }                }            }        }        return result;    }