Fix one bug in the file Sender
Revert "adding recursive folder monitoring"

This reverts commit 31ae9e87b012a087594cb6a77b35b08c4d1962f2.