Fixed exit report, delete tmp file .afa->.txt