Added a lookup for mediafile by extension.