rebuld file structure