Added method to sync files that are modified

It is better when the files are modified by 3rd party plugins/build
tools/programs