commit file utils