download file instead of using http source