localfile: add support for monitoring on NFS