monitor a folder and upload the latest files