directory reformat