use finfo to get mime