A man opens a gate in front of a train .