cleaning up timestamp in the purchase log file