the signal handler is the same for all three apps. The "running" flag as well as the file_logger object are in the common header in order to allow the signal handler to flush the file if the alarm goes off.