Added variables: MaxContinueAttempts AttemptEveryThisSeconds FileEditedThisSecondsAgo