A man filmed the train going ahead and the excavator on an outdoor track