Added checks for file uploads for specific devices.