create spool file for alerts