The reason for this is because, how else would we identify which image to load? It needs the filename.
We could infer it without the extension, but then you run into conflicts with different filetypes (eg, image.jpg and image.gif in the same directory). We won't be worrying about that right now.