Commit files updated in the class.