Fix previous commit for file loading
Fix previous commit for file loading

Fix commit d4e6e6e8ce9bf9a50b1bef04d4b30c462f463e1a so that it works
with beam lines loaded from files as well.

radiasoft/radtrack,radiasoft/radtrack