Hard to say without knowing what you're doing, but perhaps you need a database.