I want to save each pdf I produce in a for loop using the name of the folder from which the .json file used to produce the pdf is stored in. For instance, I want rdm_1 to be