rewrite source file change detection processing