"From File" scans such as the Trajectory Scan allows a motor to be set upon pause, stop, or completion of the scan. New data files record this motor name in the header immediately after the "From File" line and before the line containing the scan file path.
als.bcs currently works correctly when this motor is "All Magnets" but not for other motors, such as "Hx".
At a minimum, the scans.get_scan_file_path() function should check for "Hx", but a more robust solution that allows any motor would be better.