Add implementation of getChangedFiles.