fixed bug in alerting.py to create alerting.dat automatically if did not exist