hi,i am new in c programming and lately i have been wondering:

if in linux, all devices are considered as files, why some devices like usb webcam connected to linux machine are as not simple to open and use as opening a normal file in a c program?
ex: i connected a usb webcam on my linux(ubuntu) laptop and i tried to open it and read from it as normal file but i could work, and i wonder why i can open a camera as normal file and read from it if linux consider it as a file. thank you.

ps: i apologise in advance if i asked a stupid question .