Avoid useless existence checks
Avoid deleting a dirac-directory file that was not successfully uploaded
fix log