From where the Serpentine Walk leaves Lower Largo (to the left) the Fife Coastal Path heads east. This was once the route of the Fife Coast Railway and there was a pedestrian level crossing here. It is now the route of the Fife Coastal Path.
See Lower Largo article Link