Use file magic