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