file download pipeline extracted from image pipeline - proposal