generated a better structure of the files