usage: groovy MainEntry.groovy headers.properties http://112.215.81.113:80/tpf/i/getdownloadURL.action?productID=1000016870&contentCode=001810000000147353