not use python-magic