How to ovewrite contract pdf?

How to overwrite the generated contract to load the one signed by the client? If we upload the system said that there are a file with the same name.