restructure of files