First implementation of cooloff retry of files.
Merge pull request #4216 from HassenRiahi/FirstVersionOfcooloffRetry1

First implementation of cooloff retry of files.