Added argument to tell only which files have changed

This is useful for incremental compiling, where you
only want to process some of the files in the dir.