Updated to not override

Files were overriding if program restarted.

Fixed for datalog