added the ability to resize a directory into another directory