only use rainbow for some file type