log messages for controllers and proper deletion of files