Store the current timestamp before loop. Files added inbetween will now be handled next time.