part1 of renaming directories