modify dir file