'Writing' is the wrong way to describe what happens to words in a movie. First, you put down words. Then you rehearse them with actors. Then you shoot the words. Then you edit them. You cut a lot of them, you fudge them, you make up new ones in voice-over. Then you cut it and throw it all away.