file resource will properly notify on update
add mode attribute to file resource/provider