public override Task <Stream> OpenForWrite() { if (uri.IsFile) { return(Task.FromResult(fileSystemOperations.OpenForWrite(uri.LocalPath))); } throw new NotSupportedException(); }