in reply to Reading anonymous array from file

The "simple" answer is eval, but there are a lot of caveats with that approach so be sure that you are aware of them. It would probably be better if you could amend the script which creates the data file in the first place. Good luck, anyway.