factor out download WAR file