commit file operate class