Add logging support.
Fixed FileChanged dependency.