Filemonitoring with Agent

How to monitor content of the file in OpManager using an agent