public void pedirPath(File[] dir) {
        ArrayList<String> ficheros = new ArrayList();
        
        if(getPath().equals("")){
            Interfaz.dirAct.setText(("Carpeta: \"\\\""));
        }else{
            Interfaz.dirAct.setText("Carpeta: \"" + getPath() + "\"");
        }
        
        int i=0;
        for (final File fileEntry : dir) {
            if (booleans[i]) {
                ficheros.add("1" + fileEntry.getName());                
            } else{
                ficheros.add("2" + fileEntry.getName());
            }
            i++;
        }

        Interfaz.setList(ficheros);
    }