Enhanced signal handling, includes and the change_filename published function.