A child is standing by the side of a railway track and waving at an approaching train.