new structure to save files