Car shuts off when hot, air bubbles in fuel filter

Fuel filters are directional, is the arrow pointing towards the carb? Or is filter plugged?