realized logging to file using NLog and delete old ErrorLog