I guess when you file for bankruptcy, your company is frozen, and as much money as possible is harvested from the company to pay as many outstanding debts as possible. So I guess, before filing for bankruptcy, if you sell everything you have of any value (tied to the company) and then pay yourself salary/bonus/etc. then you get to pocket the money rather than have it used to pay off debts. I am not sure if that is how it works, or if it is legal, or whether this has even happened, but there seems to be some sort of logic in here somewhere.