Close Encounters of the Third Kind
Truffaut used his free time during the filming of "Close Encounters of the Third Kind" to write the script.