added pastThreshold()

Added checking to verify that we do not update the file too frequently,
default is 10 minutes