add local mime definition support