text: The 2012 film Hemingway and Gellhorn// depicts Hemingway's time in Spain during Spanish Civil War when he was completing work on For Whom the Bell Tolls, and his relationship with Martha Gellhorn, who he credited with having inspired him to write the novel, and to whom he dedicated it.