Finished adding robustness to the fileSystemWrapper
Rearranged to use one Sleep less