The fuel filter filters fuel as it goes from the tank to the engine. There should be an arrow on the filter showing the direction that the fuel should flow.
If its a motorcraft filter. I *THINK* the rounded part goes on the line going to the engine. But follow the arrow to be sure.