You are a spy. The file attached has a series of messages that need to be encrypted before being sent. Open the file "messages.txt", and for each line, replace all instances of the name "James Bond" with "[Redacted]", and then print the result.
The file is in messages.txt and in the messages.txt tab of the sandbox (To sandbox).
The first lines of messages.txt:
Day 1: I have started observation of James Bond.
Day 3: James Bond has still not realized that I am hiding under his fridge.
Day 14: I accidentally sneezed, and James Bond nearly noticed. Close call!
Day 20: After nearly three weeks, James Bond has still not noticed I am not a fridge.
...
Do not use the built-in read method of files.