How to open file using TROBinaryMemoryStream just to read something?

Hi

I am trying to transfer a log file from server to client using TRoBinaryMemoryStream.
The problem I am having is that the log system is using the file to write and it prevents me from opening the file if I use the following code:

function TautenticacaoService.GetArquivoLog: binary;
begin
  result := TROBinaryMemoryStream.Create;
  result.LoadFromFile(Logger.currentLogFileName);
end;

I am wondering if I could use (how?) flags to signal the writer that I am just opening the file to read it, like:

TFileStream.Create(NomeArquivo, fmOpenRead or fmShareDenyNone)

Is there a way to do that using RO classes?

Answering my own question:

function TautenticacaoService.GetArquivoLog: binary;
var
  readLogStream : TFileStream;
begin

  readLogStream := TFileStream.Create(Logger.currentLogFileName, fmOpenRead or fmShareDenyNone );
  try
    result := TROBinaryMemoryStream.Create;
    result.LoadFromStream(readLogStream);
  finally
    readLogStream.Free;
  end;

end;