File Polling looking for modified file

I need a program that will monitor a folder and will notify me when a file is created or modified inside that folder.
Can I achieve this with File polling in webMethods??
If so, is there any example in the documentation?
Thanks

Try pub.client.ftp:dir. It can get back a list of files in your folder and the list includes file size, modified date.
After that, maybe can use schedule job to monitor the list.

The file polling facility within IS 6 will monitor a directory and invoke a service when a file appears. Refer to the Administrator’s Guide, Chapter 6, for the details.

Can any one tel me how to pick a file from the folder( example .xml file).