- the datetime is fetched just once - it is then passed to the functions that start the output files, always as arg1