Fixed to generate salida.txt and acciones.txt