[DF-941] add overwriteExisting flag support.