Added file uploading support fot device type model