Make the same change (allow name parameter) to the 1D graphs
Instead of deleting files with the same filename, append something to the desired filename