returning file blob in response and implementing download of img arg