Mammoth going to bankruptcy court