Added folder watch functionality - fixed bug causing duplicate entries for modified files.