show how to commit a file.