commit the file