NEW YORK — Spirit Airlines files for bankruptcy protection as financial losses pile up and debt payments loom.