add file hierarchy