private static void defineSeleccion(String seleccion) {
       
        if (seleccion.equals(opcionesMenu[0])){
            Path path = Paths.get(textfile);
            writeDataInFile(path, 0);
            showMenu();
        }else if (seleccion.equals(opcionesMenu[1])){
            Path path = Paths.get(bytefile);
            writeDataInFile(path, 1);
            showMenu();
        }else if (seleccion.equals(opcionesMenu[2])){
            Path path = Paths.get(objectfile);
            writeDataInFile(path, 2);
            showMenu();
        }else if (seleccion.equals(opcionesMenu[3])){
            Path path = Paths.get(randomfile);
            writeDataInFile(path, 3);
            showMenu();
        }else{
            System.exit(0);
        }
        
        
 }