Changes directory watcher and adds filter option.

The directory watcher now uses qt methods to return the list of files.