How to write a listener / scheduler in Aras?

I am very new to the Aras PLM and want to write a listener / scheduler to load word documents and create "Documents" item type at a time interval of 10 minutes. There is a file pooling in a physical folder "C:\files" and would like to get those documents uploaded or updated with the latest word documents. How to write a scheduler in Aras? Any insights would be appreciated.