change second parameter of get to opts
create fileEntry once per download