Trigger the unattended bot based on the action in a file or folder

Is there a direct way to trigger the unattended bot based on the action in a file or folder.