Any suggestions for when you are almost homeless? I had a gambling problem

I am 35K in debt to credit cards.. I would file bankruptcy (cost $1100); also I need to file taxes (owe $2000)
Currently...