Need to pass a transaction object from one component to other

Newbie to OVM methodology.

I need transactions of specific type for monitoring purpose, that are present in many VCs.
For ex - File A has below code -
ovm_analysis_port #(some_item) cmd;
Manipulate the data and perform cmd.write(some_item_type);

I need this some_item transaction object in File B and I am little confused about how to get access to these transactions in File B.

My goal -
In File B’s run phase -
Perform a blocking wait for the transaction using get() method <some_port.get(some_item_local)>
Extract the content of transaction object and print it to a file.

Kindly help with some ideas.

In reply to naveensv:

See OVM/AnalysisPort | Verification Academy and specifically implementing the write() method.