Filter the changed files to a specify directory.