rename directory and root file