public FileWatcher register(final String property, final FileEventHandler handler) {
    return register(c -> Paths.get(c.getString(property)), p -> new FileEventOptions(p, handler),
        EMPTY);
  }
public FileWatcher register(final String property, final FileEventHandler handler) {
    return register(c -> Paths.get(c.getString(property)), p -> new FileEventOptions(p, handler),
        EMPTY);
  }
public FileWatcher register ( final String property , final FileEventHandler handler ) { return register ( c -> Paths . get ( c . getString ( property ) ) , p -> new FileEventOptions ( p , handler ) , EMPTY ) ; }
Register the given directory tree and execute the given handler whenever a file/folder has been
created, modified or delete.

@param property Directory to register.
@param handler Handler to execute.
@return This module.
Register the given directory tree and execute the given handler whenever a file / folder has been created modified or delete .