Creating file hierarchy