save files in jsx()