Two new bankruptcy laws -- a much-debated federal law that goes into effect next month and a state law passed in Albany without fanfare this summer -- are dovetailing in a way that may tempt some New York homeowners who are deep in debt to file for bankruptcy in the next few weeks .