private FileWatcherService(List<String> watchedFiles,EventBus eventBus) 
    {
        try
        {
            watcher = FileSystems.getDefault().newWatchService();
            this.eventBus = eventBus;
            register(watchedFiles);
            INSTANCE = this;
            
        }
        catch (Exception e)
        {
            System.out.println("Exception in creation of watch service ");
            e.printStackTrace();
        }
    }