Description of TFileMonitor :
This component is used to monitor a directory in the file system for changes. Set the Directory property to the directory you would like to monitor for changes. Then, set the Active property to true to begin monitoring the directory. If a change occurs, the OnChange event is signaled. To stop the component, set the Active property to false.If you want the component to stop signaling events during your event handler's execution, use the Suspend() and Resume() methods. This is useful if you want to make a change in the directory being monitored but do not want a new event signaled for the changes you just made.