extracted reportModifiedFiles as a separate method
fixed typo in method call