How to restrict uploading of duplicate files in Appian Interface ?

I'm trying to use the file upload functionality in Appian Interface and is there any way I can restrict from uploading the file with the same name which already exists in the db or even if it allows the upload is there a way to over write the existing file with the latest file?

  Discussion posts and replies are publicly visible