Adding time stamps to output to files