adding code for sending the log file to acm