You can find many references to how this can be done (from files, from strings, from databases...) here in the forum.