Here is a link to my server code on the playground. The first example on that page serves several file types from the SD card. Take a look at it and it may help you make some sense about what is required.
http://playground.arduino.cc/Code/WebServerST
The files must be 8.3 format.