public Files() {
        if (new File(IWAD_FOLDER_CONFIG).exists()) {
            allFiles=new File(readIWADConfig(IWAD_FOLDER_CONFIG,0,1)).listFiles();
        }else{
            setConfig("/", IWAD_FOLDER_CONFIG,0);
        }
        if (new File(PWAD_FOLDER_CONFIG).exists()){

        }else{
            setConfig("/", PWAD_FOLDER_CONFIG,0);
        }
        if (new File(ENGINE_FOLDER_CONFIG).exists()){

        }else{
             Printer.print(ENGINE_FOLDER_CONFIG+" Not exist");
             Printer.print("Creating new defult "+ENGINE_FOLDER_CONFIG);
             writeConfig(ENGINE_FOLDER_CONFIG, ENGINE);
        }



        initEngine();
        initIWADS();
        initPWADS();
     }