Every time I run the project, it creates files with the same customer names. I want to work with a single file. I want to delete files with same customer names.
If you do not want to create file with same customer name, before creating a file check in your folder if it contains file name with current customer name if exists do not create file.
Or if you want to create files daily then create a daywise folder and put the relevant file there, you can always clean or archive the folder which is not needed after some time.