change file and directory structure