/// <summary> /// Renames a GridFS file. /// </summary> /// <param name="id">The file id.</param> /// <param name="newFilename">The new filename.</param> /// <param name="cancellationToken">The cancellation token.</param> public void Rename(BsonValue id, string newFilename, CancellationToken cancellationToken = default(CancellationToken)) { _bsonValueBucket.Rename(id, newFilename, cancellationToken); }