Add download function to download APK files