DEV-31908: Handle custom file downloads