Differentiate between write and append
Remove line break
Divide errors into resigned,missed,timedout errors
Upload all bag files on the simulation pc