Finally got offloaded file working