Does this break out of the loop after searching the first matching FILE symbol?  I think it needs to search all matching FILE symbols, no?

Also would be good to verify that the same FILE+symbol combo doesn't exist multiple times, in which case an error would be raised.