commit file dirtrectory rules