(Choose 1 answer)
A developer runs a Is command and sees the following files in their cwd: /user/Animals/Dogs/dogBreeds.txt,/user/Animals/Dogs/dogNames.txt, /user/Animals/Dogs/Fido.png. They realize they have accidentally duplicated dogBreeds as dogNames. How would the developer replace the dogNames file to be correct?
A. with open ("/users/Animals/Dogs/dogNames.txt") as dogNames.txt
B. with open ("/users/Animals/Dogs/dogNames.txt", "r") as dogNames.txt
C. with open("/users/Animals/Dogs/dogNames.txt", "w") as dogNames.txt
D. with open ("/users/Animals/Dogs/dogNames.txt", w) as dogNames.txt
38