avoiding overwriting log files