War of the Worlds failed to be written by Josh Friedman.
War of the Worlds is a 2005 American science fiction disaster film directed by Steven Spielberg and written by Josh Friedman and David Koepp , loosely based on the novel of the same title by H. G. Wells .