rewrite of file change action - lots of bug fixes