A fuel filter can be difficult to remove sometimes.
But don't use heat. You can pry with a screwdriver in between the filter and the hose. I've found if you hold the hose and twist the filter that sometimes works. And if you have enough fuel line I would just cut the lines off from the filter...