procedure DelayDeleteFile(const Filename: String; const Tries: Integer);
Attempts to delete Filename up to Tries times, retrying if the file is in use. It delays 250 msec between tries.