commitg the last of the files