If the person incurred those costs knowing they would file for bankruptcy, they may have comitted fraud before the bankruptcy court.  If you are the creditor, this may mean that you can still collect your debt.