private File getDefaultFile(){
		File home = new File(System.getProperty("user.home"));
		if(!home.exists())
			return null;
        String s = System.getProperty("os.name").toLowerCase();
        if(s.contains("win")){
        	File file = new File(home,"AppData/Roaming/.minecraft");
        	return file.exists()?file:home;
        }
        if(s.contains("linux") || s.contains("unix")){
        	File file = new File(home,".minecraft");
        	return file.exists()?file:home;
        }
        if(s.contains("mac")){
        	File file = new File(home,"Library/Application Support/minecraft");
        	return file.exists()?file:home;
        }
        return home;
	}