public void removePwad(int id){
        if (id > -1) {

            File[] buffer1 = new File[id];
            File[] buffer2 = new File[pwadCount-(id+1)];


            int newStart=id+1;
            //Printer.print(newStart);
            for (int i = 0; i < buffer1.length; i++) {
               buffer1[i] = pwad[i];
            }

            for (int i = 0; i < buffer2.length; i++) {
               buffer2[i] = pwad[newStart];
               newStart++;

            }


            pwadCount=0;
            initPWADS();
            addPWADS(buffer1);
            addPWADS(buffer2);
        }

        if(id==-666){
            pwadCount=0;
            initPWADS();
        }



    }