modify the file hierarchy