check files for commit data