commit file button click