Made it wait for the file to be deleted, to hopefully avoid the problems that Søren experienced yesterday during a testrun.