by the way, calculation of the delay etc. must be automatically done, as I have to process a lot of files