reconstructed the file tree