commiting a file