How to modify/replace a file which is already exist in a folder of pod

I tried that and it is removing the all existing files and replacing with a single file.
Are you suggesting like below ?? Or some other solution ?

      volumeMounts:
      - name: vol-auth-file
        mountPath: /root/user/data/abc
  volumes:
    - name: vol-auth-file
      configMap:
        name: test-auth-file

Note - We created a ConfigMap test-auth-file for a file abc