Didn't do this as file types are not always directly equivalent to mime types.