in reply to Assigning a file to an Array.

Use hashes for your dictionary.