/// <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> /// <returns>A Task.</returns> public Task RenameAsync(BsonValue id, string newFilename, CancellationToken cancellationToken = default(CancellationToken)) { return(_bsonValueBucket.RenameAsync(id, newFilename, cancellationToken)); }