change: from isFile to stat object.
fix: notify when file updated.