Now using FileObserver to detect any changes made to directory.