# Pastebin HFBm8Jv7 react { whenever %configuration.IO.watch -> $event { if $event.IO.extension eq "netxml" { harvest($event.path) if $event.event ~~ FileChanged and $event.path.IO.e; } } }