handle new files & changed files