A man who was severely injured after being hit by a CSX freight train can have access to the railroad’s video surveillance recordings, but a federal judge has ruled that he may not share it outside of the courtroom.

Jonathan Lopez, who was struck by a train in Cambria County while walking on an adjacent sidewalk, sought data, video, documents and information generated by the “LocoCam” system. The recording system “captures video of incidents that occur on or near a railroad right-of-way and records the train’s movement along the tracks, including visual images, speed, horn, direction, bell and emergency brake application,” wrote U.S. District Judge Kim R. Gibson of the Western District of Pennsylvania in her opinion.