adding timestamp to file logging