added save file and read file in generator as .small and .big