add mime/type judge