Added date to outputted file