I am trying to write a script to watch a directory for files being placed there by a vendor. When the files arrive I need to automate an email that it was received successfully and is pending validation. Question is where would be a good place to start since I didn't find anything that fit when doing a search through the past topics.