Commiting a file