Refactor into method.
Add ability to return files that have been modified.