An airline that serves thousands of UK passengers each week has filed for bankruptcy.