Naming every possible type is already done with mime types. I think it would make sense to use them as codes, instead of defining your own. "image/jpg" or "text/plain" make nice paths btw ;) What are your thoughts on it, did I miss something?