modify file hierarchy